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.0013/0.0013, 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.001439/0.001439, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.77 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.04894/0.04894, allocations: 9.148 MB / 321.6 MB, free: 10.19 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.00198/0.00198, allocations: 71.89 kB / 446.5 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1043, allocations: 54.94 MB / 0.4897 GB, free: 9.512 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.02009/0.1244, allocations: 16.73 MB / 0.506 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.217/0.3414, allocations: 14.53 MB / 0.5202 GB, free: 7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.3415, allocations: 1.812 kB / 0.5202 GB, free: 7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006947/0.3422, allocations: 250.8 kB / 0.5205 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.3424, allocations: 129.7 kB / 0.5206 GB, free: 6.996 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.01593/0.3583, allocations: 7.336 MB / 0.5277 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.3586, allocations: 241.2 kB / 0.528 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.3587, allocations: 6.031 kB / 0.528 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.3588, allocations: 110.4 kB / 0.5281 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.3589, allocations: 59.84 kB / 0.5281 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.3589, allocations: 2.25 kB / 0.5281 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01421/0.3731, allocations: 7.062 MB / 0.535 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.3731, allocations: 9.812 kB / 0.5351 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.3733, allocations: 56.53 kB / 0.5351 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.3833, allocations: 3.685 MB / 0.5387 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3833, allocations: 3.938 kB / 0.5387 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3833, allocations: 0 / 0.5387 GB, free: 4.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.3833, allocations: 1.406 kB / 0.5387 GB, free: 4.758 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.002057/0.3854, allocations: 0.9099 MB / 0.5396 GB, free: 4.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3854, allocations: 9.688 kB / 0.5396 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.3855, allocations: 46.2 kB / 0.5397 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.3855, allocations: 12.38 kB / 0.5397 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.109e-05/0.3856, allocations: 115 kB / 0.5398 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3856, allocations: 1.094 kB / 0.5398 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.3856, allocations: 5.562 kB / 0.5398 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.3858, allocations: 123.5 kB / 0.5399 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3858, allocations: 0 / 0.5399 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3858, allocations: 2.047 kB / 0.5399 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.3858, allocations: 9.672 kB / 0.5399 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.6e-05/0.3859, allocations: 85.03 kB / 0.54 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.3861, allocations: 222.7 kB / 0.5402 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.3862, allocations: 96.98 kB / 0.5403 GB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/0.3863, allocations: 86.2 kB / 0.5404 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1179/0.5042, allocations: 27.55 MB / 0.5673 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.5042, allocations: 34.56 kB / 0.5673 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 3.326e-06/0.5042, allocations: 0.8906 kB / 0.5673 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006782/0.5049, allocations: 348.9 kB / 0.5676 GB, free: 14.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.5049, allocations: 54.69 kB / 0.5677 GB, free: 14.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.662e-05/0.505, allocations: 105.8 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.5051, allocations: 25.7 kB / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.5051, allocations: 81.14 kB / 0.5679 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.5052, allocations: 133 kB / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.592e-05/0.5053, allocations: 37.69 kB / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.5056, allocations: 326.8 kB / 0.5684 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.5057, allocations: 79.97 kB / 0.5685 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.5058, allocations: 83.75 kB / 0.5685 GB, free: 13.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.506, allocations: 207 kB / 0.5687 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.506, allocations: 0 / 0.5687 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003187/0.5064, allocations: 249.4 kB / 0.569 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5064, allocations: 7.938 kB / 0.569 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5064, allocations: 0 / 0.569 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5064, allocations: 3.938 kB / 0.569 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.5064, allocations: 0 / 0.569 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5064, allocations: 0 / 0.569 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-05/0.5065, allocations: 15.84 kB / 0.569 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.5065, allocations: 4 kB / 0.569 GB, free: 13.23 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.0001075/0.5066, allocations: 117.8 kB / 0.5691 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.5066, allocations: 21.33 kB / 0.5691 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/0.5072, allocations: 392.2 kB / 0.5695 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.5072, allocations: 8.906 kB / 0.5695 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.5072, allocations: 4 kB / 0.5695 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.5072, allocations: 0 / 0.5695 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.5074, allocations: 207.7 kB / 0.5697 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5074, allocations: 0 / 0.5697 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-07/0.5074, allocations: 0 / 0.5697 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5074, allocations: 8 kB / 0.5697 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.5074, allocations: 4 kB / 0.5697 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.5074, allocations: 7.875 kB / 0.5697 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5074, allocations: 0 / 0.5697 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.5077, allocations: 240.6 kB / 0.57 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.5078, allocations: 15.84 kB / 0.57 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.5078, allocations: 4 kB / 0.57 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.5078, allocations: 3.938 kB / 0.57 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.5079, allocations: 8.875 kB / 0.57 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.5079, allocations: 0 / 0.57 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.526e-05/0.5079, allocations: 99.27 kB / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5079, allocations: 4 kB / 0.5701 GB, free: 12.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003247/0.5112, allocations: 1.11 MB / 0.5712 GB, free: 10.92 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.005944/0.5171, allocations: 2.301 MB / 0.5734 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.5174, allocations: 163.8 kB / 0.5736 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.5174, allocations: 0 / 0.5736 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.182e-05/0.5175, allocations: 71.97 kB / 0.5736 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/0.5184, allocations: 155.3 kB / 0.5738 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.522, allocations: 2.327 MB / 0.5761 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.769e-05/0.5221, allocations: 106 kB / 0.5762 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.765e-05/0.5222, allocations: 11.88 kB / 0.5762 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.5222, allocations: 39.42 kB / 0.5762 GB, free: 5.785 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5222, allocations: 3.938 kB / 0.5762 GB, free: 5.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07432/0.5965, allocations: 33.15 MB / 0.6086 GB, free: 4.922 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.07, allocations: 12 kB / 0.6086 GB, free: 4.91 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 & /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: 14.517500020097941] Failed to read output from testmodel.py, exit status != 0: 12.19827195443213 12.222409901 11.834548659 Calling exit ...