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.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.001258/0.001258, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001303/0.001303, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.427/1.427, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.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.01174/0.01174, allocations: 2.796 MB / 307.3 MB, free: 3.254 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.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: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.89 kB / 428.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.293, allocations: 52.95 MB / 481.3 MB, free: 27.17 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.05285/0.3458, allocations: 51.22 MB / 0.52 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03027/0.3761, allocations: 29.19 MB / 0.5485 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000935/0.377, allocations: 7.938 kB / 0.5485 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.3794, allocations: 0.6136 MB / 0.5491 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008546/0.3879, allocations: 2.246 MB / 0.5513 GB, free: 9.219 MB / 414.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.01151/0.3994, allocations: 2.933 MB / 0.5542 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002241/0.4017, allocations: 0.9326 MB / 0.5551 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.4018, allocations: 21.78 kB / 0.5551 GB, free: 5.305 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.4417/0.8435, allocations: 51.21 MB / 0.6051 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007218/0.8442, allocations: 306.7 kB / 0.6054 GB, free: 2.672 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.8443, allocations: 40 kB / 0.6055 GB, free: 2.633 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4868/1.331, allocations: 27.01 MB / 0.6318 GB, free: 51.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/1.331, allocations: 110.7 kB / 0.6319 GB, free: 51.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000497/1.332, allocations: 332.2 kB / 0.6323 GB, free: 51.96 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006851/1.339, allocations: 1.867 MB / 0.6341 GB, free: 51.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/1.339, allocations: 0 / 0.6341 GB, free: 51.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.112e-06/1.339, allocations: 5 kB / 0.6341 GB, free: 51.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.695e-05/1.339, allocations: 0 / 0.6341 GB, free: 51.86 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.001966/1.341, allocations: 1.13 MB / 0.6352 GB, free: 51.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.341, allocations: 8.719 kB / 0.6352 GB, free: 51.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/1.343, allocations: 0.498 MB / 0.6357 GB, free: 51.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/1.344, allocations: 340.7 kB / 0.636 GB, free: 50.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-05/1.344, allocations: 43.17 kB / 0.6361 GB, free: 50.94 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/1.344, allocations: 58.72 kB / 0.6361 GB, free: 50.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/1.346, allocations: 0.8726 MB / 0.637 GB, free: 50.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/1.346, allocations: 4.156 kB / 0.637 GB, free: 50.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/1.346, allocations: 25.38 kB / 0.637 GB, free: 50.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/1.346, allocations: 32.14 kB / 0.637 GB, free: 50.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/1.347, allocations: 0.7033 MB / 0.6377 GB, free: 50.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003313/1.351, allocations: 5.015 MB / 0.6426 GB, free: 46.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/1.351, allocations: 261.9 kB / 0.6429 GB, free: 46.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/1.351, allocations: 164.2 kB / 0.643 GB, free: 46.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.352, allocations: 1.532 MB / 0.6445 GB, free: 45.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/1.352, allocations: 35.44 kB / 0.6445 GB, free: 45.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 1.793e-06/1.352, allocations: 0 / 0.6445 GB, free: 45.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.001717/1.354, allocations: 0.5966 MB / 0.6451 GB, free: 45.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/1.354, allocations: 78.86 kB / 0.6452 GB, free: 45.19 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/1.354, allocations: 181.2 kB / 0.6454 GB, free: 45.08 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/1.354, allocations: 30.48 kB / 0.6454 GB, free: 45.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/1.354, allocations: 297 kB / 0.6457 GB, free: 44.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/1.355, allocations: 245.6 kB / 0.6459 GB, free: 44.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/1.355, allocations: 97.05 kB / 0.646 GB, free: 44.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.786e-05/1.355, allocations: 344.9 kB / 0.6463 GB, free: 44.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/1.355, allocations: 116.7 kB / 0.6465 GB, free: 44.33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/1.355, allocations: 298 kB / 0.6467 GB, free: 44.13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/1.356, allocations: 482.2 kB / 0.6472 GB, free: 43.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.356, allocations: 3.188 kB / 0.6472 GB, free: 43.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001196/1.357, allocations: 496.9 kB / 0.6477 GB, free: 43.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.357, allocations: 17.94 kB / 0.6477 GB, free: 43.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.357, allocations: 3.25 kB / 0.6477 GB, free: 43.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.357, allocations: 10 kB / 0.6477 GB, free: 43.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/1.357, allocations: 68.06 kB / 0.6478 GB, free: 43.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/1.357, allocations: 8.375 kB / 0.6478 GB, free: 43.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/1.357, allocations: 62.17 kB / 0.6478 GB, free: 43.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/1.358, allocations: 21 kB / 0.6479 GB, free: 43.79 MB / 462.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.0002041/1.358, allocations: 195.6 kB / 0.648 GB, free: 43.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/1.358, allocations: 33.84 kB / 0.6481 GB, free: 43.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.757e-05/1.358, allocations: 28.25 kB / 0.6481 GB, free: 43.65 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.358, allocations: 7.531 kB / 0.6481 GB, free: 43.64 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.358, allocations: 0 / 0.6481 GB, free: 43.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.358, allocations: 0 / 0.6481 GB, free: 43.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/1.358, allocations: 0.49 MB / 0.6486 GB, free: 43.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.358, allocations: 0 / 0.6486 GB, free: 43.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/1.358, allocations: 25.41 kB / 0.6486 GB, free: 43.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.369e-05/1.359, allocations: 7.5 kB / 0.6486 GB, free: 43.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.759e-05/1.359, allocations: 11.53 kB / 0.6486 GB, free: 43.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/1.359, allocations: 7.844 kB / 0.6486 GB, free: 43.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/1.359, allocations: 0 / 0.6486 GB, free: 43.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/1.36, allocations: 0.5101 MB / 0.6491 GB, free: 43.17 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/1.36, allocations: 109.9 kB / 0.6492 GB, free: 43.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/1.36, allocations: 7.188 kB / 0.6492 GB, free: 43.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/1.361, allocations: 14.84 kB / 0.6493 GB, free: 43.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/1.361, allocations: 14.7 kB / 0.6493 GB, free: 43.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/1.361, allocations: 9.969 kB / 0.6493 GB, free: 43.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.525e-05/1.361, allocations: 123 kB / 0.6494 GB, free: 42.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/1.361, allocations: 0 / 0.6494 GB, free: 42.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007268/1.362, allocations: 196.7 kB / 0.6496 GB, free: 42.93 MB / 462.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.0005032/1.362, allocations: 295.7 kB / 0.6499 GB, free: 42.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005937/1.363, allocations: 0.54 MB / 0.6504 GB, free: 42.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.363, allocations: 7.562 kB / 0.6504 GB, free: 42.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002933/1.363, allocations: 450.3 kB / 0.6508 GB, free: 42.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/1.364, allocations: 200.4 kB / 0.651 GB, free: 42.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/1.365, allocations: 1.056 MB / 0.6521 GB, free: 41.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/1.366, allocations: 0.9428 MB / 0.653 GB, free: 41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000406/1.366, allocations: 263 kB / 0.6532 GB, free: 40.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/1.366, allocations: 47.44 kB / 0.6533 GB, free: 40.8 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/1.366, allocations: 0 / 0.6533 GB, free: 40.8 MB / 462.1 MB Notification: Performance of Templates: time 0.01513/1.381, allocations: 11.55 MB / 0.6645 GB, free: 29.54 MB / 462.1 MB " [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.406879455782473]