Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 110.4 kB / 18.68 MB, free: 3.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 200.4 kB / 21.93 MB, free: 100 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 250.6 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01256/0.01256, allocations: 2.801 MB / 308.6 MB, free: 6.098 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 429.9 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08448/0.08644, allocations: 52.95 MB / 482.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.2332/0.3196, allocations: 51.23 MB / 0.5216 GB, free: 5.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01857/0.3382, allocations: 29.21 MB / 0.5501 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003659/0.3385, allocations: 2.594 kB / 0.5501 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.3398, allocations: 0.6198 MB / 0.5507 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004907/0.3447, allocations: 2.25 MB / 0.5529 GB, free: 0.5859 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.007881/0.3526, allocations: 2.927 MB / 0.5558 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009948/0.3536, allocations: 0.9368 MB / 0.5567 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.045e-05/0.3537, allocations: 25.16 kB / 0.5567 GB, free: 14.71 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.4608/0.8145, allocations: 51.29 MB / 0.6068 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007549/0.8153, allocations: 306.6 kB / 0.6071 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.591e-05/0.8154, allocations: 40 kB / 0.6072 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2349/1.05, allocations: 27.05 MB / 0.6336 GB, free: 8.859 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/1.05, allocations: 111.5 kB / 0.6337 GB, free: 8.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005484/1.051, allocations: 338.5 kB / 0.634 GB, free: 8.418 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005301/1.056, allocations: 1.869 MB / 0.6358 GB, free: 6.543 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/1.056, allocations: 3.984 kB / 0.6358 GB, free: 6.539 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/1.056, allocations: 0 / 0.6358 GB, free: 6.539 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/1.056, allocations: 0 / 0.6358 GB, free: 6.539 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00215/1.059, allocations: 1.131 MB / 0.6369 GB, free: 5.359 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/1.059, allocations: 8.031 kB / 0.6369 GB, free: 5.352 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/1.061, allocations: 0.4962 MB / 0.6374 GB, free: 4.855 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/1.062, allocations: 339.5 kB / 0.6378 GB, free: 4.484 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/1.062, allocations: 46.06 kB / 0.6378 GB, free: 4.441 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.703e-05/1.062, allocations: 56 kB / 0.6379 GB, free: 4.387 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/1.064, allocations: 0.8762 MB / 0.6387 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/1.064, allocations: 4 kB / 0.6387 GB, free: 3.461 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/1.064, allocations: 20 kB / 0.6387 GB, free: 3.441 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/1.064, allocations: 39.98 kB / 0.6388 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/1.065, allocations: 0.7039 MB / 0.6395 GB, free: 2.703 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004619/1.07, allocations: 5.12 MB / 0.6445 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/1.071, allocations: 277.1 kB / 0.6447 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/1.071, allocations: 157.6 kB / 0.6449 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/1.072, allocations: 1.545 MB / 0.6464 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/1.072, allocations: 42.56 kB / 0.6464 GB, free: 10.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 1.553e-06/1.072, allocations: 0 / 0.6464 GB, free: 10.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.001833/1.074, allocations: 0.6048 MB / 0.647 GB, free: 10.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/1.074, allocations: 81.11 kB / 0.6471 GB, free: 10.03 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/1.074, allocations: 174.8 kB / 0.6473 GB, free: 9.848 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/1.074, allocations: 29.7 kB / 0.6473 GB, free: 9.812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/1.075, allocations: 292.4 kB / 0.6476 GB, free: 9.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/1.075, allocations: 253.8 kB / 0.6478 GB, free: 9.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/1.075, allocations: 97.95 kB / 0.6479 GB, free: 9.164 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/1.075, allocations: 338.8 kB / 0.6482 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/1.075, allocations: 117.3 kB / 0.6483 GB, free: 8.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/1.076, allocations: 304 kB / 0.6486 GB, free: 8.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007075/1.077, allocations: 488.7 kB / 0.6491 GB, free: 7.785 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.077, allocations: 0 / 0.6491 GB, free: 7.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008578/1.077, allocations: 492.5 kB / 0.6496 GB, free: 7.297 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.077, allocations: 11.94 kB / 0.6496 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.077, allocations: 4 kB / 0.6496 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.077, allocations: 11.94 kB / 0.6496 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/1.078, allocations: 83.89 kB / 0.6497 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007497/1.079, allocations: 1.18 MB / 0.6508 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/1.079, allocations: 67.44 kB / 0.6509 GB, free: 5.895 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/1.079, allocations: 20 kB / 0.6509 GB, free: 5.875 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.000238/1.079, allocations: 186.6 kB / 0.6511 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/1.079, allocations: 35.95 kB / 0.6511 GB, free: 5.648 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.084e-05/1.079, allocations: 30.64 kB / 0.6511 GB, free: 5.617 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.079, allocations: 0 / 0.6511 GB, free: 5.617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.079, allocations: 11.94 kB / 0.6512 GB, free: 5.605 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/1.079, allocations: 112.7 kB / 0.6513 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/1.079, allocations: 7.984 kB / 0.6513 GB, free: 5.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/1.079, allocations: 4 kB / 0.6513 GB, free: 5.465 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/1.08, allocations: 15.98 kB / 0.6513 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008485/1.08, allocations: 0.5053 MB / 0.6518 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001008/1.081, allocations: 0.7301 MB / 0.6525 GB, free: 4.188 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002238/1.082, allocations: 108.2 kB / 0.6526 GB, free: 4.082 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001063/1.082, allocations: 124.2 kB / 0.6527 GB, free: 3.961 MB / 478.1 MB Notification: Performance of Backend: time 3e-07/1.082, allocations: 0 / 0.6527 GB, free: 3.961 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002965/1.085, allocations: 1.514 MB / 0.6542 GB, free: 2.414 MB / 478.1 MB Notification: Performance of SimCode: time 0.002116/1.087, allocations: 1.84 MB / 0.656 GB, free: 456 kB / 478.1 MB Notification: Performance of Templates: time 0.03793/1.125, allocations: 23.47 MB / 0.6789 GB, free: 8.953 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.551711020001676] Failed to read output from testmodel.py, exit status != 0: 1.131701192993205 1.147815116 0.088219725 Calling exit ...