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.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.001655/0.001655, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001546/0.001546, allocations: 223.5 kB / 22.26 MB, free: 5.125 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.961 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.01302/0.01302, allocations: 2.8 MB / 315.2 MB, free: 272 kB / 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.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(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: ExternalMedia requested package Modelica of version 4.0.0. Modelica 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.002296/0.002296, allocations: 67.89 kB / 439.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1105, allocations: 54.17 MB / 493.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.2515/0.362, allocations: 51.35 MB / 0.532 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02811/0.3901, allocations: 29.21 MB / 0.5605 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/0.3906, allocations: 6.562 kB / 0.5605 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.3922, allocations: 0.609 MB / 0.5611 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005476/0.3977, allocations: 2.255 MB / 0.5633 GB, free: 2.305 MB / 398.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.008324/0.406, allocations: 2.933 MB / 0.5662 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.4072, allocations: 0.9417 MB / 0.5671 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.4073, allocations: 33.97 kB / 0.5671 GB, free: 15.31 MB / 414.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.4759/0.8832, allocations: 51.34 MB / 0.6172 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007767/0.8839, allocations: 310.6 kB / 0.6175 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.8841, allocations: 40 kB / 0.6176 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2354/1.12, allocations: 27.08 MB / 0.644 GB, free: 1.387 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002144/1.12, allocations: 119.5 kB / 0.6441 GB, free: 1.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005991/1.12, allocations: 338.4 kB / 0.6445 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006848/1.127, allocations: 1.858 MB / 0.6463 GB, free: 15.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.127, allocations: 0 / 0.6463 GB, free: 15.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/1.127, allocations: 3.938 kB / 0.6463 GB, free: 15.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/1.127, allocations: 0 / 0.6463 GB, free: 15.07 MB / 494.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.001865/1.129, allocations: 1.053 MB / 0.6473 GB, free: 13.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/1.129, allocations: 12.03 kB / 0.6473 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/1.131, allocations: 0.5 MB / 0.6478 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/1.133, allocations: 285.5 kB / 0.6481 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.191e-05/1.133, allocations: 46.06 kB / 0.6481 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.263e-05/1.134, allocations: 52 kB / 0.6482 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/1.135, allocations: 0.8804 MB / 0.649 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.135, allocations: 8 kB / 0.649 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/1.135, allocations: 24 kB / 0.6491 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/1.135, allocations: 31.98 kB / 0.6491 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/1.137, allocations: 0.7162 MB / 0.6498 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005209/1.142, allocations: 5.09 MB / 0.6548 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/1.143, allocations: 281.1 kB / 0.655 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/1.143, allocations: 157.7 kB / 0.6552 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/1.144, allocations: 0.9195 MB / 0.6561 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/1.144, allocations: 38.56 kB / 0.6561 GB, free: 4.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 1.413e-06/1.144, allocations: 0 / 0.6561 GB, free: 4.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001636/1.146, allocations: 0.6051 MB / 0.6567 GB, free: 3.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/1.146, allocations: 81.11 kB / 0.6568 GB, free: 3.496 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/1.146, allocations: 190.5 kB / 0.657 GB, free: 3.301 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/1.146, allocations: 33.7 kB / 0.657 GB, free: 3.262 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/1.146, allocations: 292.4 kB / 0.6573 GB, free: 2.969 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/1.147, allocations: 245.8 kB / 0.6575 GB, free: 2.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/1.147, allocations: 97.95 kB / 0.6576 GB, free: 2.621 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/1.147, allocations: 334.8 kB / 0.6579 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/1.147, allocations: 125.4 kB / 0.658 GB, free: 2.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/1.148, allocations: 311.9 kB / 0.6583 GB, free: 1.781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000701/1.148, allocations: 480.9 kB / 0.6588 GB, free: 1.234 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.148, allocations: 0 / 0.6588 GB, free: 1.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008647/1.149, allocations: 484.3 kB / 0.6593 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.149, allocations: 8 kB / 0.6593 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/1.149, allocations: 7.938 kB / 0.6593 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/1.149, allocations: 11.94 kB / 0.6593 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/1.15, allocations: 88.45 kB / 0.6594 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007905/1.15, allocations: 1.184 MB / 0.6605 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/1.151, allocations: 59.52 kB / 0.6606 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/1.151, allocations: 20 kB / 0.6606 GB, free: 15.33 MB / 0.4981 GB 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.0002522/1.151, allocations: 201.8 kB / 0.6608 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.949e-05/1.151, allocations: 31.8 kB / 0.6608 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.271e-05/1.151, allocations: 26.66 kB / 0.6608 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.151, allocations: 4 kB / 0.6609 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.151, allocations: 3.938 kB / 0.6609 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.151, allocations: 0 / 0.6609 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006647/1.152, allocations: 475.9 kB / 0.6613 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.152, allocations: 0 / 0.6613 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/1.152, allocations: 43.97 kB / 0.6614 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.152, allocations: 0 / 0.6614 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/1.152, allocations: 8 kB / 0.6614 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007284/1.153, allocations: 1.176 MB / 0.6625 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.153, allocations: 0 / 0.6625 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/1.153, allocations: 0.5219 MB / 0.663 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/1.153, allocations: 35.64 kB / 0.6631 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/1.153, allocations: 0 / 0.6631 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/1.154, allocations: 11.94 kB / 0.6631 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/1.154, allocations: 15.97 kB / 0.6631 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/1.154, allocations: 12 kB / 0.6631 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001155/1.154, allocations: 124.2 kB / 0.6632 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/1.154, allocations: 0 / 0.6632 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006864/1.154, allocations: 203.4 kB / 0.6634 GB, free: 12.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.000611/1.155, allocations: 292.9 kB / 0.6637 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001009/1.156, allocations: 0.5679 MB / 0.6642 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.156, allocations: 0 / 0.6642 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006827/1.157, allocations: 476.2 kB / 0.6647 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.158, allocations: 196.2 kB / 0.6649 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/1.16, allocations: 1.068 MB / 0.6659 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/1.161, allocations: 0.9542 MB / 0.6669 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004744/1.161, allocations: 219.8 kB / 0.6671 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/1.162, allocations: 43.44 kB / 0.6671 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/1.162, allocations: 4 kB / 0.6671 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of Templates: time 0.02399/1.186, allocations: 12.28 MB / 0.6791 GB, free: 12.1 MB / 0.5137 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: 9.930782798910514] Failed to read output from testmodel.py, exit status != 0: 1.1937498832121491 1.210887282 0.080141717 Calling exit ...