Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.00141/0.00141, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.00158/0.00158, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.172 MB / 186.7 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.05376/0.05376, allocations: 7.524 MB / 267.1 MB, free: 5.918 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: translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 338 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.803e-05, allocations: 5.125 kB / 338 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.3282/0.3282, allocations: 114.2 MB / 452.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1212/0.4494, allocations: 97.65 MB / 0.5369 GB, free: 6.301 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006821/0.4501, allocations: 11.94 kB / 0.5369 GB, free: 6.289 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003431/0.4535, allocations: 1.155 MB / 0.5381 GB, free: 5.129 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00455/0.4581, allocations: 1.488 MB / 0.5395 GB, free: 3.633 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3206/0.7787, allocations: 30.93 MB / 0.5697 GB, free: 16.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.7805, allocations: 1.346 MB / 0.571 GB, free: 16.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.7808, allocations: 85.44 kB / 0.5711 GB, free: 16.64 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01695/0.7977, allocations: 9.122 MB / 0.58 GB, free: 16.17 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.7989, allocations: 326.4 kB / 0.5803 GB, free: 16.14 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.7991, allocations: 40.34 kB / 0.5804 GB, free: 16.14 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04651/0.8456, allocations: 24.15 MB / 0.604 GB, free: 14.89 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.8458, allocations: 124.6 kB / 0.6041 GB, free: 14.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005854/0.8464, allocations: 225.6 kB / 0.6043 GB, free: 14.8 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03984/0.8863, allocations: 14.53 MB / 0.6185 GB, free: 9.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8863, allocations: 4 kB / 0.6185 GB, free: 9.336 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.8863, allocations: 0 / 0.6185 GB, free: 9.336 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.8863, allocations: 0 / 0.6185 GB, free: 9.336 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006436/0.8927, allocations: 2.588 MB / 0.621 GB, free: 6.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8928, allocations: 8.625 kB / 0.621 GB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007287/0.8935, allocations: 169.8 kB / 0.6212 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.894, allocations: 290.5 kB / 0.6215 GB, free: 6.414 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.894, allocations: 34.34 kB / 0.6215 GB, free: 6.395 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.664e-05/0.8941, allocations: 38.02 kB / 0.6215 GB, free: 6.367 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.8953, allocations: 0.7576 MB / 0.6223 GB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.8953, allocations: 2.062 kB / 0.6223 GB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.8954, allocations: 15.56 kB / 0.6223 GB, free: 5.738 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.8954, allocations: 12 kB / 0.6223 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.8966, allocations: 0.5548 MB / 0.6229 GB, free: 5.344 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.8985, allocations: 1.664 MB / 0.6245 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009844/0.8994, allocations: 479.2 kB / 0.6249 GB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.8999, allocations: 312.6 kB / 0.6252 GB, free: 3.527 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.229/1.129, allocations: 44.11 MB / 0.6683 GB, free: 11.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/1.129, allocations: 38.28 kB / 0.6683 GB, free: 10.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=78): time 2.234e-06/1.129, allocations: 4 kB / 0.6684 GB, free: 10.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.007155/1.136, allocations: 2.277 MB / 0.6706 GB, free: 9.246 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/1.136, allocations: 55.41 kB / 0.6706 GB, free: 9.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/1.136, allocations: 235.8 kB / 0.6709 GB, free: 8.977 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/1.137, allocations: 30.39 kB / 0.6709 GB, free: 8.945 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/1.137, allocations: 191.3 kB / 0.6711 GB, free: 8.781 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/1.137, allocations: 277.9 kB / 0.6713 GB, free: 8.543 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/1.137, allocations: 102.2 kB / 0.6714 GB, free: 8.473 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002253/1.137, allocations: 352.8 kB / 0.6718 GB, free: 8.137 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/1.138, allocations: 278.8 kB / 0.672 GB, free: 7.973 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00073/1.139, allocations: 416.7 kB / 0.6724 GB, free: 7.633 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/1.14, allocations: 0.7367 MB / 0.6731 GB, free: 7.117 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.14, allocations: 0 / 0.6731 GB, free: 7.117 MB / 474.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001775/1.142, allocations: 0.8328 MB / 0.674 GB, free: 6.543 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.142, allocations: 7.125 kB / 0.674 GB, free: 6.539 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.142, allocations: 7.984 kB / 0.674 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/1.142, allocations: 72.27 kB / 0.674 GB, free: 6.469 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/1.143, allocations: 125.8 kB / 0.6742 GB, free: 6.359 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07731/1.22, allocations: 19.41 MB / 0.6931 GB, free: 2.855 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/1.221, allocations: 27.97 kB / 0.6931 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/1.221, allocations: 20 kB / 0.6932 GB, free: 2.809 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003356/1.221, allocations: 185.1 kB / 0.6933 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/1.221, allocations: 63.64 kB / 0.6934 GB, free: 2.562 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/1.224, allocations: 1.616 MB / 0.695 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/1.224, allocations: 8 kB / 0.695 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.224, allocations: 8 kB / 0.695 GB, free: 0.875 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001932/1.226, allocations: 1.202 MB / 0.6962 GB, free: 15.58 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/1.228, allocations: 1.529 MB / 0.6977 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.229, allocations: 8.031 kB / 0.6977 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/1.229, allocations: 80.34 kB / 0.6977 GB, free: 13.94 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003572/1.229, allocations: 105.6 kB / 0.6978 GB, free: 13.83 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/1.229, allocations: 15.94 kB / 0.6979 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/1.231, allocations: 1.863 MB / 0.6997 GB, free: 11.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.231, allocations: 10.09 kB / 0.6997 GB, free: 11.83 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/1.234, allocations: 1.298 MB / 0.701 GB, free: 10.51 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/1.234, allocations: 31.8 kB / 0.701 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/1.234, allocations: 15.95 kB / 0.701 GB, free: 10.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/1.234, allocations: 28.03 kB / 0.701 GB, free: 10.44 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/1.234, allocations: 43.92 kB / 0.7011 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/1.235, allocations: 15.98 kB / 0.7011 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0002903/1.235, allocations: 223.1 kB / 0.7013 GB, free: 10.16 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/1.235, allocations: 0 / 0.7013 GB, free: 10.16 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008035/1.243, allocations: 2.442 MB / 0.7037 GB, free: 7.707 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse5.phase,$cse6.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01502/1.258, allocations: 3.763 MB / 0.7074 GB, free: 4.297 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.002606/1.26, allocations: 0.9541 MB / 0.7083 GB, free: 3.332 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.26, allocations: 4 kB / 0.7083 GB, free: 3.328 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/1.262, allocations: 477.5 kB / 0.7088 GB, free: 2.852 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/1.264, allocations: 384.3 kB / 0.7091 GB, free: 2.48 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/1.266, allocations: 1.122 MB / 0.7102 GB, free: 1.336 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/1.266, allocations: 246.2 kB / 0.7104 GB, free: 1.07 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0004285/1.266, allocations: 129.4 kB / 0.7106 GB, free: 0.9492 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/1.267, allocations: 48.48 kB / 0.7106 GB, free: 0.8984 MB / 0.4949 GB Notification: Performance of SimCode: time 8.21e-07/1.267, allocations: 0 / 0.7106 GB, free: 0.8984 MB / 0.4949 GB Notification: Performance of Templates: time 0.2357/1.502, allocations: 78 MB / 0.7868 GB, free: 240 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.263174738036469]