Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.001574/0.001574, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.002753/0.002753, allocations: 218.8 kB / 22.25 MB, free: 4.723 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.48/1.48, 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/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.01359/0.01359, allocations: 2.801 MB / 315.2 MB, free: 116 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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") [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.002071/0.002071, allocations: 73.12 kB / 439.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09404, allocations: 54.17 MB / 493.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.2415/0.3355, allocations: 45.38 MB / 0.5261 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02658/0.3621, allocations: 25.15 MB / 0.5506 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005706/0.3627, allocations: 4.031 kB / 0.5506 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.3643, allocations: 0.5043 MB / 0.5511 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006693/0.3709, allocations: 2.182 MB / 0.5533 GB, free: 10.74 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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008866/0.3798, allocations: 2.892 MB / 0.5561 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.3812, allocations: 0.9322 MB / 0.557 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3813, allocations: 26.28 kB / 0.557 GB, free: 7.84 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.4628/0.8441, allocations: 51.34 MB / 0.6072 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006846/0.8448, allocations: 286.6 kB / 0.6074 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.189e-05/0.8449, allocations: 40 kB / 0.6075 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2308/1.076, allocations: 27.06 MB / 0.6339 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/1.076, allocations: 111.5 kB / 0.634 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005693/1.076, allocations: 278.8 kB / 0.6343 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00822/1.085, allocations: 1.866 MB / 0.6361 GB, free: 8.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/1.085, allocations: 4 kB / 0.6361 GB, free: 8.227 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.863e-06/1.085, allocations: 0 / 0.6361 GB, free: 8.227 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/1.085, allocations: 0 / 0.6361 GB, free: 8.227 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.001663/1.086, allocations: 1.045 MB / 0.6371 GB, free: 7.148 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/1.086, allocations: 8.031 kB / 0.6371 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/1.088, allocations: 0.5 MB / 0.6376 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/1.09, allocations: 273.7 kB / 0.6379 GB, free: 6.348 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/1.09, allocations: 46.06 kB / 0.6379 GB, free: 6.305 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.332e-05/1.091, allocations: 52 kB / 0.638 GB, free: 6.254 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/1.092, allocations: 0.9926 MB / 0.6389 GB, free: 5.184 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/1.092, allocations: 0 / 0.6389 GB, free: 5.184 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/1.092, allocations: 24 kB / 0.639 GB, free: 5.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/1.092, allocations: 31.98 kB / 0.639 GB, free: 5.129 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/1.094, allocations: 0.7123 MB / 0.6397 GB, free: 4.422 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/1.097, allocations: 2.69 MB / 0.6423 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/1.098, allocations: 269 kB / 0.6426 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/1.098, allocations: 153.7 kB / 0.6427 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/1.099, allocations: 0.8727 MB / 0.6436 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/1.099, allocations: 42.55 kB / 0.6436 GB, free: 272 kB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 1.944e-06/1.099, allocations: 0 / 0.6436 GB, free: 272 kB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.001576/1.101, allocations: 0.6012 MB / 0.6442 GB, free: 15.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/1.101, allocations: 77.11 kB / 0.6443 GB, free: 15.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/1.101, allocations: 198.4 kB / 0.6445 GB, free: 15.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/1.101, allocations: 29.7 kB / 0.6445 GB, free: 15.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/1.101, allocations: 292.3 kB / 0.6448 GB, free: 15.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/1.102, allocations: 237.8 kB / 0.645 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/1.102, allocations: 97.95 kB / 0.6451 GB, free: 14.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/1.102, allocations: 346.8 kB / 0.6454 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/1.102, allocations: 117.3 kB / 0.6455 GB, free: 14.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/1.103, allocations: 303.9 kB / 0.6458 GB, free: 13.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/1.103, allocations: 480.9 kB / 0.6463 GB, free: 13.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.103, allocations: 4 kB / 0.6463 GB, free: 13.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008276/1.104, allocations: 480.5 kB / 0.6467 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/1.104, allocations: 8 kB / 0.6467 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.104, allocations: 11.98 kB / 0.6468 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/1.104, allocations: 11.94 kB / 0.6468 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/1.104, allocations: 71.84 kB / 0.6468 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/1.104, allocations: 8.188 kB / 0.6468 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/1.105, allocations: 59.92 kB / 0.6469 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/1.105, allocations: 31.92 kB / 0.6469 GB, free: 12.64 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): 36 * 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 0.000256/1.105, allocations: 193.7 kB / 0.6471 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/1.105, allocations: 27.81 kB / 0.6471 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.347e-05/1.105, allocations: 26.66 kB / 0.6472 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.105, allocations: 7.922 kB / 0.6472 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.105, allocations: 0 / 0.6472 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.105, allocations: 4 kB / 0.6472 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/1.106, allocations: 336.7 kB / 0.6475 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.106, allocations: 7.984 kB / 0.6475 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/1.106, allocations: 31.98 kB / 0.6475 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.106, allocations: 0 / 0.6475 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/1.106, allocations: 4 kB / 0.6475 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.106, allocations: 3.938 kB / 0.6475 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.106, allocations: 7.938 kB / 0.6476 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/1.106, allocations: 0.5023 MB / 0.648 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/1.107, allocations: 39.67 kB / 0.6481 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/1.107, allocations: 0 / 0.6481 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/1.107, allocations: 8 kB / 0.6481 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/1.107, allocations: 23.91 kB / 0.6481 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/1.107, allocations: 8 kB / 0.6481 GB, free: 11.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001095/1.107, allocations: 120.2 kB / 0.6482 GB, free: 11.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/1.107, allocations: 0 / 0.6482 GB, free: 11.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006985/1.108, allocations: 203.4 kB / 0.6484 GB, free: 11.04 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): 13 * 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.00063/1.108, allocations: 304.9 kB / 0.6487 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/1.109, allocations: 0.5524 MB / 0.6493 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.109, allocations: 0 / 0.6493 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005249/1.11, allocations: 472.3 kB / 0.6497 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/1.111, allocations: 188.3 kB / 0.6499 GB, free: 9.438 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/1.113, allocations: 1.045 MB / 0.6509 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/1.113, allocations: 360.6 kB / 0.6513 GB, free: 7.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005413/1.114, allocations: 253.8 kB / 0.6515 GB, free: 7.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.893e-05/1.114, allocations: 43.44 kB / 0.6515 GB, free: 7.691 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/1.114, allocations: 0 / 0.6515 GB, free: 7.691 MB / 494.1 MB Notification: Performance of Templates: time 0.02313/1.137, allocations: 11.93 MB / 0.6632 GB, free: 11.77 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.522937713190913] Failed to read output from testmodel.py, exit status != 0: 1.1450408194214106 1.162146853 0.07399013900000001 Calling exit ...