Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.001356/0.001356, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001634/0.001634, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.797 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.01266/0.01266, allocations: 2.805 MB / 315.2 MB, free: 88 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_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.002029/0.002029, allocations: 71.89 kB / 439.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1018, allocations: 54.18 MB / 493.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.2784/0.3801, allocations: 45.4 MB / 0.5261 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03116/0.4113, allocations: 25.15 MB / 0.5507 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007366/0.412, allocations: 6.625 kB / 0.5507 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.414, allocations: 0.5 MB / 0.5512 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007878/0.4219, allocations: 2.197 MB / 0.5533 GB, free: 10.67 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_Tabular.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.4333, allocations: 2.897 MB / 0.5561 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.4355, allocations: 0.9358 MB / 0.557 GB, free: 7.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.4356, allocations: 28.89 kB / 0.5571 GB, free: 7.766 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.701/1.137, allocations: 51.99 MB / 0.6078 GB, free: 5.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009587/1.138, allocations: 294.5 kB / 0.6081 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/1.138, allocations: 40 kB / 0.6082 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.233/1.371, allocations: 27.39 MB / 0.6349 GB, free: 9.406 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003157/1.371, allocations: 115.4 kB / 0.635 GB, free: 9.297 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007391/1.372, allocations: 274.8 kB / 0.6353 GB, free: 9.027 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/1.384, allocations: 1.866 MB / 0.6371 GB, free: 7.156 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/1.384, allocations: 0 / 0.6371 GB, free: 7.156 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.625e-06/1.384, allocations: 0 / 0.6371 GB, free: 7.156 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/1.384, allocations: 0 / 0.6371 GB, free: 7.156 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.002133/1.386, allocations: 1.045 MB / 0.6381 GB, free: 6.078 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.386, allocations: 15.97 kB / 0.6381 GB, free: 6.062 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/1.388, allocations: 0.4961 MB / 0.6386 GB, free: 5.566 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006425/1.395, allocations: 281.6 kB / 0.6389 GB, free: 5.266 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-05/1.395, allocations: 50 kB / 0.6389 GB, free: 5.219 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-05/1.395, allocations: 56 kB / 0.639 GB, free: 5.164 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/1.397, allocations: 0.9886 MB / 0.64 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/1.397, allocations: 0 / 0.64 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.893e-05/1.397, allocations: 24 kB / 0.64 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/1.397, allocations: 31.98 kB / 0.64 GB, free: 4.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/1.398, allocations: 0.7162 MB / 0.6407 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004104/1.402, allocations: 2.69 MB / 0.6433 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007836/1.403, allocations: 281 kB / 0.6436 GB, free: 268 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/1.404, allocations: 153.7 kB / 0.6438 GB, free: 108 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/1.405, allocations: 0.8805 MB / 0.6446 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/1.405, allocations: 34.56 kB / 0.6446 GB, free: 15.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.725e-06/1.405, allocations: 0 / 0.6446 GB, free: 15.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001579/1.407, allocations: 0.6051 MB / 0.6452 GB, free: 14.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/1.407, allocations: 81.11 kB / 0.6453 GB, free: 14.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/1.407, allocations: 202.4 kB / 0.6455 GB, free: 14.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/1.407, allocations: 33.7 kB / 0.6455 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/1.407, allocations: 296.4 kB / 0.6458 GB, free: 13.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/1.407, allocations: 237.8 kB / 0.6461 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/1.407, allocations: 97.95 kB / 0.6461 GB, free: 13.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/1.408, allocations: 338.8 kB / 0.6465 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/1.408, allocations: 129.3 kB / 0.6466 GB, free: 13.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/1.408, allocations: 303.9 kB / 0.6469 GB, free: 12.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009642/1.409, allocations: 484.9 kB / 0.6473 GB, free: 12.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.409, allocations: 0 / 0.6473 GB, free: 12.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008819/1.41, allocations: 484.4 kB / 0.6478 GB, free: 11.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.41, allocations: 8 kB / 0.6478 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.41, allocations: 4 kB / 0.6478 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-05/1.41, allocations: 15.92 kB / 0.6478 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/1.411, allocations: 83.84 kB / 0.6479 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008781/1.411, allocations: 1.184 MB / 0.6491 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/1.412, allocations: 59.45 kB / 0.6491 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/1.412, allocations: 20 kB / 0.6491 GB, free: 10.29 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.0003784/1.412, allocations: 207.8 kB / 0.6493 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/1.412, allocations: 27.81 kB / 0.6494 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.949e-05/1.412, allocations: 22.66 kB / 0.6494 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.412, allocations: 4 kB / 0.6494 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.412, allocations: 3.938 kB / 0.6494 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/1.412, allocations: 12.3 kB / 0.6494 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/1.413, allocations: 344.7 kB / 0.6497 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.413, allocations: 3.938 kB / 0.6497 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/1.413, allocations: 35.97 kB / 0.6498 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/1.413, allocations: 4 kB / 0.6498 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/1.413, allocations: 12 kB / 0.6498 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008184/1.414, allocations: 1.176 MB / 0.6509 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.414, allocations: 192 / 0.6509 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/1.415, allocations: 0.5139 MB / 0.6514 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/1.415, allocations: 35.62 kB / 0.6515 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/1.415, allocations: 11.98 kB / 0.6515 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/1.415, allocations: 4 kB / 0.6515 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/1.415, allocations: 19.97 kB / 0.6515 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/1.415, allocations: 4 kB / 0.6515 GB, free: 7.754 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001217/1.415, allocations: 123.2 kB / 0.6516 GB, free: 7.633 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/1.415, allocations: 0 / 0.6516 GB, free: 7.633 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008429/1.416, allocations: 195.5 kB / 0.6518 GB, free: 7.441 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.0007723/1.417, allocations: 308.9 kB / 0.6521 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/1.418, allocations: 0.5724 MB / 0.6527 GB, free: 6.531 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.418, allocations: 0 / 0.6527 GB, free: 6.531 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007293/1.419, allocations: 479.7 kB / 0.6531 GB, free: 5.988 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/1.42, allocations: 192.5 kB / 0.6533 GB, free: 5.801 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/1.422, allocations: 1.064 MB / 0.6544 GB, free: 4.707 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/1.423, allocations: 352.8 kB / 0.6547 GB, free: 4.336 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005446/1.423, allocations: 219.8 kB / 0.6549 GB, free: 4.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/1.423, allocations: 47.44 kB / 0.6549 GB, free: 4.074 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/1.423, allocations: 3.938 kB / 0.6549 GB, free: 4.07 MB / 494.1 MB Notification: Performance of Templates: time 0.02536/1.449, allocations: 12.27 MB / 0.6669 GB, free: 7.809 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.009252337738872] Failed to read output from testmodel.py, exit status != 0: 1.4573441296815872 1.47719456 0.089355239 Calling exit ...