Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.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.001299/0.001299, 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.001675/0.001675, allocations: 213 kB / 22.24 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.391/1.391, allocations: 230.6 MB / 256 MB, free: 7.805 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.05003/0.05003, allocations: 9.137 MB / 321.6 MB, free: 10.23 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.ConvergenceTest.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.84 kB / 446.5 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 54.95 MB / 0.4897 GB, free: 9.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02135/0.1257, allocations: 17.43 MB / 0.5067 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2122/0.3379, allocations: 8.36 MB / 0.5149 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.3381, allocations: 0 / 0.5149 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008695/0.339, allocations: 380.2 kB / 0.5153 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.3395, allocations: 283.4 kB / 0.5155 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009365/0.3489, allocations: 4.742 MB / 0.5202 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.3493, allocations: 401.6 kB / 0.5205 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.3493, allocations: 16.78 kB / 0.5206 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.3496, allocations: 187.2 kB / 0.5207 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3497, allocations: 90.27 kB / 0.5208 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.3497, allocations: 7.812 kB / 0.5208 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008341/0.3581, allocations: 5.027 MB / 0.5257 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.3581, allocations: 24.53 kB / 0.5258 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.3583, allocations: 97.77 kB / 0.5259 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004928/0.3632, allocations: 2.728 MB / 0.5285 GB, free: 6.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3632, allocations: 0 / 0.5285 GB, free: 6.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3632, allocations: 0 / 0.5285 GB, free: 6.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3632, allocations: 0 / 0.5285 GB, free: 6.379 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001293/0.3645, allocations: 0.7585 MB / 0.5293 GB, free: 5.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3645, allocations: 9.625 kB / 0.5293 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.3646, allocations: 56.92 kB / 0.5293 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.3649, allocations: 59.83 kB / 0.5294 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.135e-05/0.365, allocations: 137.9 kB / 0.5295 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.365, allocations: 10.56 kB / 0.5295 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.365, allocations: 4.125 kB / 0.5295 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.3654, allocations: 247.7 kB / 0.5298 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.3654, allocations: 1.375 kB / 0.5298 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3654, allocations: 0 / 0.5298 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3654, allocations: 12.25 kB / 0.5298 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.3658, allocations: 231.6 kB / 0.53 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.366, allocations: 325.6 kB / 0.5303 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000869/0.3669, allocations: 304.2 kB / 0.5306 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.3672, allocations: 210.9 kB / 0.5308 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03652/0.4037, allocations: 9.234 MB / 0.5398 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.4038, allocations: 33.06 kB / 0.5398 GB, free: 3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.885e-06/0.4038, allocations: 0.6562 kB / 0.5398 GB, free: 3 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.001092/0.4049, allocations: 0.7158 MB / 0.5405 GB, free: 2.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.4049, allocations: 54.41 kB / 0.5406 GB, free: 2.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.345e-05/0.405, allocations: 116.7 kB / 0.5407 GB, free: 2.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.405, allocations: 29.14 kB / 0.5407 GB, free: 2.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.347e-05/0.405, allocations: 84.45 kB / 0.5408 GB, free: 2.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.4051, allocations: 247.4 kB / 0.5411 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.4052, allocations: 63.86 kB / 0.5411 GB, free: 2.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.4053, allocations: 333.6 kB / 0.5414 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.4055, allocations: 182.6 kB / 0.5416 GB, free: 2.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.4057, allocations: 193.4 kB / 0.5418 GB, free: 1.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.4062, allocations: 453.5 kB / 0.5422 GB, free: 1.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4062, allocations: 3.375 kB / 0.5422 GB, free: 1.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006091/0.4068, allocations: 499.4 kB / 0.5427 GB, free: 1.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4069, allocations: 5.531 kB / 0.5427 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4069, allocations: 4 kB / 0.5427 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4069, allocations: 1.031 kB / 0.5427 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.407, allocations: 32.88 kB / 0.5427 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.407, allocations: 0.6875 kB / 0.5427 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.4072, allocations: 41.2 kB / 0.5428 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.4072, allocations: 11.38 kB / 0.5428 GB, free: 1.734 MB / 382.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: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 9.125e-05/0.4073, allocations: 129.5 kB / 0.5429 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.4074, allocations: 21.8 kB / 0.5429 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008973/0.4082, allocations: 0.8301 MB / 0.5437 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.4083, allocations: 11.69 kB / 0.5438 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4083, allocations: 1.875 kB / 0.5438 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4083, allocations: 9.141 kB / 0.5438 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.4086, allocations: 402.2 kB / 0.5442 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4086, allocations: 5.359 kB / 0.5442 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.4087, allocations: 24.27 kB / 0.5442 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4087, allocations: 5.312 kB / 0.5442 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.4088, allocations: 7.922 kB / 0.5442 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4088, allocations: 1.344 kB / 0.5442 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4088, allocations: 0 / 0.5442 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.4094, allocations: 0.5488 MB / 0.5447 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.4095, allocations: 36.28 kB / 0.5448 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.4095, allocations: 8.094 kB / 0.5448 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.4097, allocations: 12.52 kB / 0.5448 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.4097, allocations: 16.58 kB / 0.5448 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.4097, allocations: 9.578 kB / 0.5448 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.534e-05/0.4097, allocations: 83.66 kB / 0.5449 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4097, allocations: 0 / 0.5449 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00199/0.4117, allocations: 0.7231 MB / 0.5456 GB, free: 0.7344 MB / 382.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: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004225/0.4159, allocations: 2.017 MB / 0.5476 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006617/0.4166, allocations: 427.2 kB / 0.548 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4166, allocations: 0 / 0.548 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.4169, allocations: 205.8 kB / 0.5482 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.418, allocations: 235.9 kB / 0.5484 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.4226, allocations: 3.111 MB / 0.5514 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.4227, allocations: 147.1 kB / 0.5516 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003636/0.4231, allocations: 196.1 kB / 0.5518 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.4232, allocations: 71.41 kB / 0.5518 GB, free: 12.02 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4232, allocations: 0 / 0.5518 GB, free: 12.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07433/0.4976, allocations: 31.08 MB / 0.5822 GB, free: 13.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.26, allocations: 6.656 kB / 0.5822 GB, free: 13.27 MB / 430.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.185481037944555] Failed to read output from testmodel.py, exit status != 0: 12.380563443060964 12.407263906 12.039845429 Calling exit ...