Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.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.001392/0.001392, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001582/0.001582, allocations: 214.6 kB / 22.25 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 207.6 MB / 233 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07036/0.07036, allocations: 9.155 MB / 294.4 MB, free: 12.7 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002336/0.002336, allocations: 71.11 kB / 411.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09221, allocations: 50.75 MB / 461.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.0188/0.111, allocations: 13.26 MB / 475.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02493/0.1359, allocations: 17.86 MB / 492.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.1361, allocations: 4 kB / 492.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.1365, allocations: 59.58 kB / 493 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1367, allocations: 67.39 kB / 493.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02162/0.1583, allocations: 6.719 MB / 499.8 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.1587, allocations: 170.9 kB / 500 MB, free: 6.484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.584e-05/0.1588, allocations: 9.312 kB / 500 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.159, allocations: 71.77 kB / 0.4883 GB, free: 6.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1592, allocations: 59.72 kB / 0.4884 GB, free: 6.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1592, allocations: 4 kB / 0.4884 GB, free: 6.344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02648/0.1857, allocations: 10.86 MB / 0.499 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.1857, allocations: 19.91 kB / 0.499 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.1859, allocations: 59.69 kB / 0.4991 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02198/0.2079, allocations: 6.081 MB / 0.505 GB, free: 5.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.2079, allocations: 0 / 0.505 GB, free: 5.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2079, allocations: 0 / 0.505 GB, free: 5.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.2079, allocations: 0 / 0.505 GB, free: 5.301 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.006265/0.2141, allocations: 1.315 MB / 0.5063 GB, free: 3.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.127e-05/0.2142, allocations: 15.98 kB / 0.5063 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.826e-05/0.2143, allocations: 42.73 kB / 0.5063 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.2144, allocations: 20.84 kB / 0.5064 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.2146, allocations: 126.3 kB / 0.5065 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.2146, allocations: 12.38 kB / 0.5065 GB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.2147, allocations: 15.94 kB / 0.5065 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.2158, allocations: 324 kB / 0.5068 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.2158, allocations: 3.984 kB / 0.5068 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.2158, allocations: 8 kB / 0.5068 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2158, allocations: 0 / 0.5068 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.2169, allocations: 314.9 kB / 0.5071 GB, free: 3.031 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.2183, allocations: 1.023 MB / 0.5081 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.2193, allocations: 299.6 kB / 0.5084 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.2195, allocations: 78.52 kB / 0.5085 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6286/0.8481, allocations: 119.6 MB / 0.6253 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/0.8482, allocations: 36.75 kB / 0.6253 GB, free: 12.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 3.025e-06/0.8482, allocations: 4 kB / 0.6253 GB, free: 12.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.002189/0.8503, allocations: 492.6 kB / 0.6258 GB, free: 12.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/0.8504, allocations: 108.8 kB / 0.6259 GB, free: 12.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.8506, allocations: 156.8 kB / 0.626 GB, free: 11.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.8507, allocations: 29.7 kB / 0.6261 GB, free: 11.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.8507, allocations: 106.1 kB / 0.6262 GB, free: 11.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.8508, allocations: 50.8 kB / 0.6262 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.8509, allocations: 45.72 kB / 0.6263 GB, free: 11.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.8511, allocations: 322.8 kB / 0.6266 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.8513, allocations: 55.94 kB / 0.6266 GB, free: 11.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.8515, allocations: 110.7 kB / 0.6267 GB, free: 11.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.852, allocations: 184.4 kB / 0.6269 GB, free: 11.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.852, allocations: 0 / 0.6269 GB, free: 11.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006055/0.8526, allocations: 204.1 kB / 0.6271 GB, free: 10.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.8526, allocations: 4 kB / 0.6271 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.8527, allocations: 4 kB / 0.6271 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.8527, allocations: 0 / 0.6271 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.8529, allocations: 55.89 kB / 0.6272 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.8529, allocations: 3.938 kB / 0.6272 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.8531, allocations: 28.16 kB / 0.6272 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.8531, allocations: 8 kB / 0.6272 GB, free: 10.74 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * 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.0001401/0.8533, allocations: 132 kB / 0.6273 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/0.8533, allocations: 11.91 kB / 0.6273 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.8549, allocations: 1.187 MB / 0.6285 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.8549, allocations: 23.91 kB / 0.6285 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8549, allocations: 3.938 kB / 0.6285 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.8549, allocations: 0 / 0.6285 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007797/0.8557, allocations: 0.5671 MB / 0.6291 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8557, allocations: 0 / 0.6291 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.8559, allocations: 39.95 kB / 0.6291 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.8559, allocations: 4 kB / 0.6291 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.8559, allocations: 4 kB / 0.6291 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8559, allocations: 3.844 kB / 0.6291 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.8559, allocations: 7.938 kB / 0.6291 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.857, allocations: 0.8748 MB / 0.63 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-05/0.8571, allocations: 51.56 kB / 0.63 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.8571, allocations: 8.875 kB / 0.63 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.8574, allocations: 19.97 kB / 0.6301 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.8574, allocations: 15.91 kB / 0.6301 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.8574, allocations: 12 kB / 0.6301 GB, free: 7.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.14e-05/0.8575, allocations: 111.9 kB / 0.6302 GB, free: 7.621 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8575, allocations: 0 / 0.6302 GB, free: 7.621 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004642/0.8622, allocations: 1.45 MB / 0.6316 GB, free: 6.168 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * 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.009327/0.8715, allocations: 2.943 MB / 0.6345 GB, free: 3.367 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00075/0.8723, allocations: 311 kB / 0.6348 GB, free: 3.062 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8723, allocations: 0 / 0.6348 GB, free: 3.062 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.8727, allocations: 224.8 kB / 0.635 GB, free: 2.844 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006175/0.8733, allocations: 52.83 kB / 0.635 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.8771, allocations: 1.295 MB / 0.6363 GB, free: 1.449 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.8776, allocations: 0.7921 MB / 0.6371 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.8778, allocations: 109.8 kB / 0.6372 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.878, allocations: 95.34 kB / 0.6373 GB, free: 444 kB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.878, allocations: 0 / 0.6373 GB, free: 444 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/0.9968, allocations: 55.59 MB / 0.6916 GB, free: 8.801 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/16.3, allocations: 7.922 kB / 0.6916 GB, free: 8.793 MB / 494.1 MB " [Timeout remaining time 644] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.343564531067386] Failed to read output from testmodel.py, exit status != 0: 16.4580445389729 16.490605908 16.276855599 Calling exit ...