Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.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.0008419/0.0008419, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009233/0.0009233, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8986/0.8986, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.03055/0.03055, allocations: 7.517 MB / 266.7 MB, free: 6.191 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_TwoPhase_setState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_TwoPhase_setState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 0 / 391.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.269e-05, allocations: 5.234 kB / 391.7 MB, free: 6.363 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.01409/0.01412, allocations: 16.27 MB / 408 MB, free: 6.023 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.0261, allocations: 15.05 MB / 423.1 MB, free: 6.93 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.02626, allocations: 4 kB / 423.1 MB, free: 6.926 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005401/0.0268, allocations: 246.6 kB / 423.3 MB, free: 6.684 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.02717, allocations: 230.6 kB / 423.5 MB, free: 6.457 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01391/0.04108, allocations: 7.515 MB / 431 MB, free: 14.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.04142, allocations: 310.2 kB / 431.3 MB, free: 14.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.04148, allocations: 9.797 kB / 431.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.04172, allocations: 179.5 kB / 431.5 MB, free: 14.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.0418, allocations: 55.84 kB / 431.6 MB, free: 14.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.04181, allocations: 4 kB / 431.6 MB, free: 14.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009988/0.0518, allocations: 7.339 MB / 438.9 MB, free: 7.027 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.05183, allocations: 19.86 kB / 438.9 MB, free: 7.008 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.05197, allocations: 59.86 kB / 439 MB, free: 6.949 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007647/0.05961, allocations: 4.485 MB / 443.5 MB, free: 2.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.05962, allocations: 0 / 443.5 MB, free: 2.453 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.05962, allocations: 0 / 443.5 MB, free: 2.453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.05963, allocations: 0 / 443.5 MB, free: 2.453 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001938/0.06156, allocations: 0.9456 MB / 444.4 MB, free: 1.473 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.06161, allocations: 12.62 kB / 444.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.06165, allocations: 42.55 kB / 444.5 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.06169, allocations: 19.86 kB / 444.5 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.06179, allocations: 136.9 kB / 444.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.0618, allocations: 7.938 kB / 444.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.06181, allocations: 4 kB / 444.7 MB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.06205, allocations: 168.2 kB / 444.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.06206, allocations: 4 kB / 444.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.06207, allocations: 4 kB / 444.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.06208, allocations: 3.984 kB / 444.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.06221, allocations: 119.8 kB / 444.9 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.06271, allocations: 0.5035 MB / 445.4 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.06284, allocations: 110.5 kB / 445.6 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.651e-05/0.06293, allocations: 104.8 kB / 445.7 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2033/0.2663, allocations: 25.74 MB / 471.4 MB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.2663, allocations: 37.92 kB / 471.4 MB, free: 89.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.834e-06/0.2663, allocations: 0 / 471.4 MB, free: 89.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005034/0.2668, allocations: 369.5 kB / 471.8 MB, free: 89.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.2668, allocations: 59.33 kB / 471.8 MB, free: 88.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.2669, allocations: 128.3 kB / 472 MB, free: 88.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.2669, allocations: 27.27 kB / 472 MB, free: 88.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.2669, allocations: 92.94 kB / 472.1 MB, free: 88.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.267, allocations: 134.4 kB / 472.2 MB, free: 88.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.267, allocations: 39.47 kB / 472.3 MB, free: 88.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.087e-05/0.2671, allocations: 328 kB / 472.6 MB, free: 88.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2672, allocations: 88.16 kB / 472.7 MB, free: 88.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.2673, allocations: 126.5 kB / 472.8 MB, free: 88.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.2675, allocations: 252.8 kB / 473 MB, free: 88.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2675, allocations: 0 / 473 MB, free: 88.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002768/0.2678, allocations: 272.7 kB / 473.3 MB, free: 87.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2678, allocations: 8.328 kB / 473.3 MB, free: 87.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.2678, allocations: 1.922 kB / 473.3 MB, free: 87.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2678, allocations: 6.281 kB / 473.3 MB, free: 87.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.2679, allocations: 10.48 kB / 473.3 MB, free: 87.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2679, allocations: 1.922 kB / 473.3 MB, free: 87.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.268, allocations: 27.38 kB / 473.4 MB, free: 87.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.268, allocations: 3.828 kB / 473.4 MB, free: 87.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 6.011e-05/0.268, allocations: 123.7 kB / 473.5 MB, free: 87.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.2681, allocations: 15.31 kB / 473.5 MB, free: 87.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.2684, allocations: 324.6 kB / 473.8 MB, free: 87.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.2684, allocations: 5 kB / 473.8 MB, free: 87.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2684, allocations: 1.375 kB / 473.8 MB, free: 87.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2684, allocations: 0.8438 kB / 473.8 MB, free: 87.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.2686, allocations: 236.8 kB / 474.1 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2686, allocations: 2.906 kB / 474.1 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.2686, allocations: 8.312 kB / 474.1 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2686, allocations: 1.062 kB / 474.1 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2686, allocations: 4.766 kB / 474.1 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2686, allocations: 5.094 kB / 474.1 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2686, allocations: 2.906 kB / 474.1 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.2689, allocations: 375.3 kB / 474.4 MB, free: 87.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.269, allocations: 33.39 kB / 474.5 MB, free: 87.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.269, allocations: 4.281 kB / 474.5 MB, free: 87.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.269, allocations: 11.2 kB / 474.5 MB, free: 87.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.2691, allocations: 6.562 kB / 474.5 MB, free: 87.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2691, allocations: 2.438 kB / 474.5 MB, free: 87.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.799e-05/0.2691, allocations: 91.97 kB / 474.6 MB, free: 87.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2691, allocations: 4 kB / 474.6 MB, free: 87.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00211/0.2712, allocations: 1.129 MB / 475.7 MB, free: 87.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003507/0.2747, allocations: 2.648 MB / 478.4 MB, free: 85.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.2751, allocations: 238.1 kB / 478.6 MB, free: 85.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2751, allocations: 7.5 kB / 478.6 MB, free: 85.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.2752, allocations: 125.7 kB / 478.7 MB, free: 85.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.2757, allocations: 151.6 kB / 478.9 MB, free: 85.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2769, allocations: 0.8403 MB / 479.7 MB, free: 85.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.376e-05/0.277, allocations: 114.7 kB / 479.8 MB, free: 85.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.872e-05/0.277, allocations: 9.531 kB / 479.8 MB, free: 85.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.2771, allocations: 40.27 kB / 479.9 MB, free: 85.17 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2771, allocations: 0 / 479.9 MB, free: 85.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/0.3221, allocations: 33.87 MB / 0.5017 GB, free: 55.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/7.784, allocations: 4.062 kB / 0.5017 GB, free: 55.3 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_TwoPhase_setState_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_TwoPhase_setState.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.42722918279469] Failed to read output from testmodel.py, exit status != 0: 7.879946684464812 7.8890282 7.827801526 Calling exit ...