Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_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.0007928/0.0007928, 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.0007667/0.0007667, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.876/0.876, allocations: 177.2 MB / 202.8 MB, free: 5.547 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.02761/0.02761, allocations: 7.528 MB / 266.7 MB, free: 6.082 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.Parameter.SinglePhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 391.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.457e-05, allocations: 5.375 kB / 391.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01338/0.0134, allocations: 16.7 MB / 408.4 MB, free: 5.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009747/0.02315, allocations: 14.55 MB / 423 MB, free: 7.02 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.02321, allocations: 0 / 423 MB, free: 7.02 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.0237, allocations: 258.7 kB / 423.2 MB, free: 6.766 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.02383, allocations: 135.2 kB / 423.4 MB, free: 6.633 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.009962/0.03379, allocations: 7.426 MB / 430.8 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.03398, allocations: 262.4 kB / 431 MB, free: 14.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.03402, allocations: 9.266 kB / 431.1 MB, free: 14.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.03416, allocations: 147.5 kB / 431.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.03421, allocations: 47.92 kB / 431.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.03423, allocations: 3.938 kB / 431.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007058/0.04128, allocations: 7.117 MB / 438.4 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.0413, allocations: 3.938 kB / 438.4 MB, free: 7.594 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.04136, allocations: 47.86 kB / 438.4 MB, free: 7.547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004868/0.04623, allocations: 4.384 MB / 442.8 MB, free: 3.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.04623, allocations: 0 / 442.8 MB, free: 3.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.04624, allocations: 0 / 442.8 MB, free: 3.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.04624, allocations: 7.938 kB / 442.8 MB, free: 3.145 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001033/0.04727, allocations: 0.899 MB / 443.7 MB, free: 2.211 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.04731, allocations: 8.625 kB / 443.7 MB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.04735, allocations: 46.55 kB / 443.8 MB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.04738, allocations: 15.91 kB / 443.8 MB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.708e-05/0.04745, allocations: 121 kB / 443.9 MB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.04746, allocations: 7.875 kB / 443.9 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.04747, allocations: 11.98 kB / 443.9 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.04761, allocations: 113.7 kB / 444 MB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.04761, allocations: 4 kB / 444 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.04762, allocations: 0 / 444 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.04763, allocations: 7.984 kB / 444 MB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.005e-05/0.04769, allocations: 79.97 kB / 444.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.04786, allocations: 220.5 kB / 444.3 MB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.086e-05/0.04794, allocations: 106.8 kB / 444.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.048, allocations: 85.23 kB / 444.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1855/0.2335, allocations: 27.53 MB / 472 MB, free: 89.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2335, allocations: 39.5 kB / 472.1 MB, free: 89.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.164e-06/0.2335, allocations: 0 / 472.1 MB, free: 89.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003827/0.2339, allocations: 344.5 kB / 472.4 MB, free: 89.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.2339, allocations: 53.52 kB / 472.5 MB, free: 89.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.681e-05/0.234, allocations: 98.39 kB / 472.6 MB, free: 89.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.234, allocations: 27.5 kB / 472.6 MB, free: 89.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.076e-05/0.234, allocations: 84.86 kB / 472.7 MB, free: 89.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.2341, allocations: 132 kB / 472.8 MB, free: 89.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.2341, allocations: 40.56 kB / 472.8 MB, free: 89.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.2341, allocations: 323 kB / 473.2 MB, free: 88.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.2342, allocations: 84.56 kB / 473.2 MB, free: 88.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.717e-05/0.2342, allocations: 87.58 kB / 473.3 MB, free: 88.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2344, allocations: 204.6 kB / 473.5 MB, free: 88.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2344, allocations: 1.125 kB / 473.5 MB, free: 88.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001801/0.2346, allocations: 243.9 kB / 473.8 MB, free: 88.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2346, allocations: 9.859 kB / 473.8 MB, free: 88.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2346, allocations: 0 / 473.8 MB, free: 88.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2346, allocations: 0 / 473.8 MB, free: 88.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.2346, allocations: 1.859 kB / 473.8 MB, free: 88.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2346, allocations: 3.656 kB / 473.8 MB, free: 88.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.2346, allocations: 19.62 kB / 473.8 MB, free: 88.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.2347, allocations: 6.953 kB / 473.8 MB, free: 88.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 0 * 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 5.266e-05/0.2347, allocations: 119.9 kB / 473.9 MB, free: 88.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.2347, allocations: 16.31 kB / 473.9 MB, free: 88.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.235, allocations: 390 kB / 474.3 MB, free: 88.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.235, allocations: 9.656 kB / 474.3 MB, free: 88.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.235, allocations: 0.9375 kB / 474.3 MB, free: 88.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2351, allocations: 1.031 kB / 474.3 MB, free: 88.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.2352, allocations: 204.5 kB / 474.5 MB, free: 87.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2352, allocations: 4.516 kB / 474.5 MB, free: 87.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.2352, allocations: 0 / 474.5 MB, free: 87.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2352, allocations: 5.062 kB / 474.5 MB, free: 87.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2352, allocations: 2.156 kB / 474.5 MB, free: 87.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2352, allocations: 0.7969 kB / 474.5 MB, free: 87.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2352, allocations: 3.688 kB / 474.5 MB, free: 87.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.2353, allocations: 234.9 kB / 474.8 MB, free: 87.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.2354, allocations: 23.88 kB / 474.8 MB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.2354, allocations: 11.09 kB / 474.8 MB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.2354, allocations: 1.219 kB / 474.8 MB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.2354, allocations: 7.203 kB / 474.8 MB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.2354, allocations: 3.234 kB / 474.8 MB, free: 87.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.68e-05/0.2355, allocations: 99.41 kB / 474.9 MB, free: 87.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2355, allocations: 0 / 474.9 MB, free: 87.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001797/0.2372, allocations: 1.106 MB / 476 MB, free: 87.62 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 (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003099/0.2403, allocations: 2.464 MB / 478.5 MB, free: 86.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.2405, allocations: 157.1 kB / 478.6 MB, free: 86.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2405, allocations: 1.156 kB / 478.6 MB, free: 86.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.062e-05/0.2406, allocations: 68.64 kB / 478.7 MB, free: 86.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.2411, allocations: 156.5 kB / 478.9 MB, free: 86.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.2426, allocations: 2.333 MB / 481.2 MB, free: 84.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.2427, allocations: 102.2 kB / 481.3 MB, free: 84.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.2427, allocations: 14.17 kB / 481.3 MB, free: 84.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.2428, allocations: 38.69 kB / 481.4 MB, free: 84.78 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2428, allocations: 4 kB / 481.4 MB, free: 84.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.28, allocations: 33.4 MB / 0.5027 GB, free: 54.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.453, allocations: 10.44 kB / 0.5027 GB, free: 54.6 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.110234747640789] Failed to read output from testmodel.py, exit status != 0: 7.548517576418817 7.554211173 7.506598824 Calling exit ...