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.001489/0.001489, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001945/0.001945, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 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.48/1.48, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.01263/0.01263, allocations: 2.807 MB / 308.9 MB, free: 5.93 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.001998/0.001998, allocations: 63.89 kB / 430.4 MB, free: 20.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09494/0.09694, allocations: 52.96 MB / 483.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.2947/0.3917, allocations: 51.24 MB / 0.5221 GB, free: 4.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02945/0.4211, allocations: 29.19 MB / 0.5506 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008796/0.422, allocations: 0 / 0.5506 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.4242, allocations: 0.6215 MB / 0.5512 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007416/0.4316, allocations: 2.253 MB / 0.5534 GB, free: 13.64 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.01012/0.4417, allocations: 2.94 MB / 0.5563 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.4434, allocations: 0.9353 MB / 0.5572 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4435, allocations: 28.02 kB / 0.5572 GB, free: 10.69 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.474/0.9175, allocations: 51.3 MB / 0.6073 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009016/0.9184, allocations: 306.7 kB / 0.6076 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.9186, allocations: 40 kB / 0.6077 GB, free: 9.438 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2515/1.17, allocations: 27.04 MB / 0.6341 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002885/1.17, allocations: 103.5 kB / 0.6342 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008862/1.171, allocations: 350.3 kB / 0.6345 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/1.182, allocations: 1.858 MB / 0.6363 GB, free: 11.91 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.182, allocations: 0 / 0.6363 GB, free: 11.91 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/1.182, allocations: 0 / 0.6363 GB, free: 11.91 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.603e-05/1.182, allocations: 0 / 0.6363 GB, free: 11.91 MB / 478.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.002445/1.184, allocations: 1.14 MB / 0.6374 GB, free: 10.71 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.184, allocations: 12.02 kB / 0.6374 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/1.187, allocations: 0.4961 MB / 0.6379 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/1.19, allocations: 331.6 kB / 0.6382 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/1.19, allocations: 42.06 kB / 0.6383 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/1.19, allocations: 59.94 kB / 0.6383 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/1.192, allocations: 0.8801 MB / 0.6392 GB, free: 8.809 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/1.192, allocations: 0 / 0.6392 GB, free: 8.809 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/1.192, allocations: 28 kB / 0.6392 GB, free: 8.781 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/1.192, allocations: 27.98 kB / 0.6393 GB, free: 8.754 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/1.194, allocations: 0.7039 MB / 0.6399 GB, free: 8.051 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006039/1.2, allocations: 5.139 MB / 0.645 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007861/1.2, allocations: 273.1 kB / 0.6452 GB, free: 1.992 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/1.201, allocations: 157.6 kB / 0.6454 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/1.203, allocations: 1.55 MB / 0.6469 GB, free: 108 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/1.203, allocations: 34.5 kB / 0.6469 GB, free: 64 kB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 2.835e-06/1.203, allocations: 0 / 0.6469 GB, free: 64 kB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.001764/1.204, allocations: 0.6042 MB / 0.6475 GB, free: 15.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/1.204, allocations: 81.09 kB / 0.6476 GB, free: 15.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/1.205, allocations: 178.8 kB / 0.6478 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/1.205, allocations: 37.7 kB / 0.6478 GB, free: 15.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/1.205, allocations: 296.4 kB / 0.6481 GB, free: 14.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/1.205, allocations: 237.8 kB / 0.6483 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/1.205, allocations: 97.95 kB / 0.6484 GB, free: 14.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/1.206, allocations: 346.7 kB / 0.6487 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/1.206, allocations: 121.3 kB / 0.6488 GB, free: 14.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/1.206, allocations: 304 kB / 0.6491 GB, free: 13.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/1.207, allocations: 484.6 kB / 0.6496 GB, free: 13.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/1.207, allocations: 4 kB / 0.6496 GB, free: 13.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009032/1.208, allocations: 488.2 kB / 0.6501 GB, free: 12.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.208, allocations: 7.984 kB / 0.6501 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/1.208, allocations: 11.94 kB / 0.6501 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/1.208, allocations: 8.719 kB / 0.6501 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/1.208, allocations: 79.84 kB / 0.6502 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008235/1.209, allocations: 1.184 MB / 0.6513 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/1.21, allocations: 55.52 kB / 0.6514 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/1.21, allocations: 20 kB / 0.6514 GB, free: 11.21 MB / 494.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.0003907/1.21, allocations: 206.6 kB / 0.6516 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/1.21, allocations: 35.75 kB / 0.6516 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.693e-05/1.21, allocations: 26.66 kB / 0.6517 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.21, allocations: 0 / 0.6517 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.21, allocations: 3.938 kB / 0.6517 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/1.21, allocations: 7.984 kB / 0.6517 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008012/1.211, allocations: 493.1 kB / 0.6521 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/1.211, allocations: 0 / 0.6521 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/1.211, allocations: 43.97 kB / 0.6522 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.211, allocations: 4 kB / 0.6522 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/1.211, allocations: 8 kB / 0.6522 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007753/1.212, allocations: 1.164 MB / 0.6533 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.212, allocations: 0 / 0.6533 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/1.213, allocations: 0.5257 MB / 0.6538 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/1.213, allocations: 112.7 kB / 0.6539 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/1.213, allocations: 4 kB / 0.654 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/1.213, allocations: 11.98 kB / 0.654 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/1.213, allocations: 11.98 kB / 0.654 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/1.213, allocations: 12.19 kB / 0.654 GB, free: 8.414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001202/1.213, allocations: 124.2 kB / 0.6541 GB, free: 8.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.213, allocations: 3.938 kB / 0.6541 GB, free: 8.289 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008245/1.214, allocations: 203.4 kB / 0.6543 GB, free: 8.09 MB / 494.1 MB 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.000828/1.215, allocations: 309.2 kB / 0.6546 GB, free: 7.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/1.216, allocations: 0.5646 MB / 0.6551 GB, free: 7.195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.216, allocations: 0 / 0.6551 GB, free: 7.195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007263/1.217, allocations: 479.7 kB / 0.6556 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.218, allocations: 188.5 kB / 0.6558 GB, free: 6.465 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/1.221, allocations: 1.07 MB / 0.6568 GB, free: 5.363 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/1.222, allocations: 0.9426 MB / 0.6578 GB, free: 4.391 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005211/1.222, allocations: 219.8 kB / 0.658 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.52e-05/1.222, allocations: 47.44 kB / 0.658 GB, free: 4.133 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/1.222, allocations: 0 / 0.658 GB, free: 4.133 MB / 494.1 MB Notification: Performance of Templates: time 0.02328/1.246, allocations: 11.83 MB / 0.6696 GB, free: 8.301 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 -s cvode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.588807570748031] Failed to read output from testmodel.py, exit status != 0: 1.2538022729568183 1.269306728 0.084092647 Calling exit ...