Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 109 kB / 20.48 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 211.7 kB / 23.79 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 257.6 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9965/0.9965, allocations: 150 MB / 464 MB, free: 10.45 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.03 kB / 0.6421 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2051, allocations: 89.17 MB / 0.7291 GB, free: 1.188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.01031/0.2155, allocations: 4.841 MB / 0.7339 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004925/0.2204, allocations: 2.73 MB / 0.7365 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.2206, allocations: 0 / 0.7365 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004237/0.221, allocations: 47.67 kB / 0.7366 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005058/0.2215, allocations: 95.38 kB / 0.7367 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.2238, allocations: 0.5221 MB / 0.7372 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005618/0.2243, allocations: 235.9 kB / 0.7374 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.2244, allocations: 9.734 kB / 0.7374 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004153/0.2249, allocations: 127.5 kB / 0.7375 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.2251, allocations: 95.66 kB / 0.7376 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.2252, allocations: 11.94 kB / 0.7376 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.2266, allocations: 391.3 kB / 0.738 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.2267, allocations: 39.89 kB / 0.7381 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.2269, allocations: 79.64 kB / 0.7381 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.2281, allocations: 375 kB / 0.7385 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.2281, allocations: 0 / 0.7385 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2281, allocations: 0 / 0.7385 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.2281, allocations: 0 / 0.7385 GB, free: 7.578 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001498/0.2296, allocations: 445.4 kB / 0.7389 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.4e-05/0.2297, allocations: 12.03 kB / 0.7389 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.659e-05/0.2297, allocations: 8.516 kB / 0.7389 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.074e-05/0.2298, allocations: 54.72 kB / 0.739 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.2301, allocations: 24.84 kB / 0.739 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.2306, allocations: 154.2 kB / 0.7392 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2306, allocations: 12.7 kB / 0.7392 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.2307, allocations: 20.12 kB / 0.7392 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.2314, allocations: 252.1 kB / 0.7394 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.2314, allocations: 0 / 0.7394 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.2315, allocations: 8 kB / 0.7394 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.2315, allocations: 4 kB / 0.7394 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008396/0.2323, allocations: 447.5 kB / 0.7399 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.2342, allocations: 0.9284 MB / 0.7408 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.2346, allocations: 143.8 kB / 0.7409 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.2348, allocations: 56.88 kB / 0.741 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/0.236, allocations: 463.8 kB / 0.7414 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.2361, allocations: 34.56 kB / 0.7414 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.565e-06/0.2361, allocations: 0 / 0.7414 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0005841/0.2366, allocations: 160 kB / 0.7416 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.2367, allocations: 55.41 kB / 0.7416 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.237, allocations: 172.1 kB / 0.7418 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.237, allocations: 29.7 kB / 0.7418 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.2372, allocations: 144.1 kB / 0.742 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.2372, allocations: 51.53 kB / 0.742 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.2373, allocations: 53.66 kB / 0.7421 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.2375, allocations: 322.8 kB / 0.7424 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.2377, allocations: 39.97 kB / 0.7424 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.2379, allocations: 145.7 kB / 0.7426 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.2383, allocations: 193.5 kB / 0.7427 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.537e-06/0.2383, allocations: 7.922 kB / 0.7427 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006851/0.239, allocations: 221.1 kB / 0.743 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.239, allocations: 8 kB / 0.743 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.2391, allocations: 4 kB / 0.743 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/0.2391, allocations: 7.938 kB / 0.743 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.2394, allocations: 48.39 kB / 0.743 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.2394, allocations: 11.98 kB / 0.743 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.2396, allocations: 31.78 kB / 0.7431 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.2396, allocations: 15.98 kB / 0.7431 GB, free: 2.504 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000227/0.2399, allocations: 133.7 kB / 0.7432 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.24, allocations: 15.91 kB / 0.7432 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004798/0.2404, allocations: 157.7 kB / 0.7434 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.2405, allocations: 7.984 kB / 0.7434 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.2405, allocations: 0 / 0.7434 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2405, allocations: 0 / 0.7434 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.2409, allocations: 188.6 kB / 0.7436 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.2409, allocations: 7.984 kB / 0.7436 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.241, allocations: 24 kB / 0.7436 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.241, allocations: 0 / 0.7436 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.2411, allocations: 11.92 kB / 0.7436 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2411, allocations: 0 / 0.7436 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2411, allocations: 0 / 0.7436 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.2415, allocations: 219.3 kB / 0.7438 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.2416, allocations: 39.88 kB / 0.7439 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.2417, allocations: 11.92 kB / 0.7439 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.242, allocations: 11.98 kB / 0.7439 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.242, allocations: 15.97 kB / 0.7439 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.242, allocations: 8 kB / 0.7439 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002027/0.2422, allocations: 116 kB / 0.744 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2422, allocations: 4 kB / 0.744 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000753/0.243, allocations: 79.8 kB / 0.7441 GB, free: 1.398 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/0.2444, allocations: 0.8435 MB / 0.7449 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.2448, allocations: 115.7 kB / 0.745 GB, free: 428 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2448, allocations: 0 / 0.745 GB, free: 428 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.2449, allocations: 47.91 kB / 0.7451 GB, free: 380 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000717/0.2456, allocations: 55.39 kB / 0.7451 GB, free: 328 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.2495, allocations: 2.046 MB / 0.7471 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.25, allocations: 0.7206 MB / 0.7478 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002823/0.2503, allocations: 41.91 kB / 0.7479 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.2504, allocations: 43.42 kB / 0.7479 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of SimCode: time 1.673e-06/0.2504, allocations: 3.938 kB / 0.7479 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.288, allocations: 5.59 MB / 0.7534 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.24, allocations: 8.062 kB / 0.7534 GB, free: 7.859 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.491002647962887] Failed to read output from testmodel.py, exit status != 0: 12.42047235101927 12.753810981 12.522684891 Calling exit ...