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.001547/0.001547, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001758/0.001758, allocations: 214.2 kB / 22.25 MB, free: 5.258 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.04906/0.04906, allocations: 9.128 MB / 321.6 MB, free: 10.32 MB / 254.1 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 0.00188/0.00188, allocations: 63.91 kB / 446.5 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09997, allocations: 54.95 MB / 0.4897 GB, free: 9.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01996/0.1199, allocations: 16.72 MB / 0.506 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2317/0.3517, allocations: 14.52 MB / 0.5202 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.3519, allocations: 1.969 kB / 0.5202 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009309/0.3528, allocations: 250.6 kB / 0.5205 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.3531, allocations: 130.2 kB / 0.5206 GB, free: 6.965 MB / 382.1 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.01971/0.3728, allocations: 7.33 MB / 0.5277 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.3732, allocations: 247.4 kB / 0.528 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.3732, allocations: 7.594 kB / 0.528 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3734, allocations: 110.3 kB / 0.5281 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.783e-05/0.3735, allocations: 58.89 kB / 0.5281 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3735, allocations: 2.312 kB / 0.5281 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01384/0.3873, allocations: 7.061 MB / 0.535 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.3874, allocations: 10.38 kB / 0.535 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.3875, allocations: 54.06 kB / 0.5351 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008232/0.3958, allocations: 3.688 MB / 0.5387 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3958, allocations: 0 / 0.5387 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3958, allocations: 4 kB / 0.5387 GB, free: 4.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3958, allocations: 3.938 kB / 0.5387 GB, free: 4.754 MB / 382.1 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.002253/0.398, allocations: 0.9072 MB / 0.5396 GB, free: 4.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3981, allocations: 8.844 kB / 0.5396 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.3981, allocations: 45.11 kB / 0.5396 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.3982, allocations: 13 kB / 0.5397 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.87e-05/0.3983, allocations: 114.8 kB / 0.5398 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3983, allocations: 1.188 kB / 0.5398 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.3983, allocations: 3.938 kB / 0.5398 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.3985, allocations: 120.7 kB / 0.5399 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3985, allocations: 4 kB / 0.5399 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3985, allocations: 5.25 kB / 0.5399 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3985, allocations: 8.578 kB / 0.5399 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.545e-05/0.3986, allocations: 81.56 kB / 0.54 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.3988, allocations: 226.3 kB / 0.5402 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.3989, allocations: 98.03 kB / 0.5403 GB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.399, allocations: 86.08 kB / 0.5404 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1137/0.5126, allocations: 27.54 MB / 0.5673 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.5127, allocations: 42.5 kB / 0.5673 GB, free: 15.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.445e-06/0.5127, allocations: 4 kB / 0.5673 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0005574/0.5132, allocations: 341 kB / 0.5676 GB, free: 14.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.5133, allocations: 59.39 kB / 0.5677 GB, free: 14.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.5134, allocations: 97.86 kB / 0.5678 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.5134, allocations: 25.7 kB / 0.5678 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.5134, allocations: 81.14 kB / 0.5679 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.5135, allocations: 130.8 kB / 0.568 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.5136, allocations: 41.64 kB / 0.5681 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5137, allocations: 326.8 kB / 0.5684 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/0.5138, allocations: 79.97 kB / 0.5684 GB, free: 13.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.324e-05/0.5139, allocations: 87.88 kB / 0.5685 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.5141, allocations: 213.8 kB / 0.5687 GB, free: 13.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5141, allocations: 0 / 0.5687 GB, free: 13.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000289/0.5144, allocations: 233.3 kB / 0.569 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.5145, allocations: 4 kB / 0.569 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5145, allocations: 4 kB / 0.569 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5145, allocations: 3.938 kB / 0.569 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/0.5145, allocations: 0.8906 kB / 0.569 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5145, allocations: 0 / 0.569 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.5146, allocations: 15.84 kB / 0.569 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.5146, allocations: 3.984 kB / 0.569 GB, free: 13.29 MB / 414.1 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 0.000108/0.5147, allocations: 137.2 kB / 0.5691 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.5147, allocations: 11.91 kB / 0.5691 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.5152, allocations: 389.1 kB / 0.5695 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.5152, allocations: 11.88 kB / 0.5695 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5152, allocations: 0 / 0.5695 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5152, allocations: 7.797 kB / 0.5695 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.5155, allocations: 206 kB / 0.5697 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5155, allocations: 4 kB / 0.5697 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-07/0.5155, allocations: 3.938 kB / 0.5697 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5155, allocations: 0.75 kB / 0.5697 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.5155, allocations: 0 / 0.5697 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5155, allocations: 7.938 kB / 0.5697 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.5155, allocations: 0 / 0.5697 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.5157, allocations: 232.7 kB / 0.57 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.5158, allocations: 19.84 kB / 0.57 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.5158, allocations: 0 / 0.57 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.113e-05/0.5158, allocations: 3.938 kB / 0.57 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.5159, allocations: 11.98 kB / 0.57 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.5159, allocations: 0 / 0.57 GB, free: 12.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.572e-05/0.5159, allocations: 107.2 kB / 0.5701 GB, free: 12.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5159, allocations: 0 / 0.5701 GB, free: 12.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00303/0.519, allocations: 1.106 MB / 0.5712 GB, free: 10.97 MB / 414.1 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.006598/0.5256, allocations: 2.303 MB / 0.5734 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.5259, allocations: 167.7 kB / 0.5736 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.5259, allocations: 0 / 0.5736 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.704e-05/0.526, allocations: 63.98 kB / 0.5736 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.5269, allocations: 156.2 kB / 0.5738 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.531, allocations: 2.334 MB / 0.5761 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.197e-05/0.5311, allocations: 110 kB / 0.5762 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.358e-05/0.5311, allocations: 7.797 kB / 0.5762 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.5312, allocations: 39.44 kB / 0.5762 GB, free: 5.84 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5312, allocations: 0 / 0.5762 GB, free: 5.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0754/0.6066, allocations: 33.15 MB / 0.6086 GB, free: 4.977 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.36, allocations: 6.859 kB / 0.6086 GB, free: 4.973 MB / 446.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1 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: 14.964461029041559] Failed to read output from testmodel.py, exit status != 0: 12.480307722929865 12.510094057 12.108990814 Calling exit ...