Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.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.001/0.001, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.00114/0.00114, allocations: 169 kB / 24.05 MB, free: 456 kB / 18.57 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 0.9988/0.9988, allocations: 177.1 MB / 204.5 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.008847/0.008847, allocations: 2 MB / 263 MB, free: 10.92 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 333.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.814e-05, allocations: 2.312 kB / 333.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.00588/0.005898, allocations: 8.939 MB / 342.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003865/0.009763, allocations: 8.389 MB / 350.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.009871, allocations: 3.938 kB / 350.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.01034, allocations: 123.2 kB / 351 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.01064, allocations: 103.2 kB / 351.1 MB, free: 15.06 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.01378, allocations: 1.466 MB / 352.6 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.01409, allocations: 246.8 kB / 352.8 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.01413, allocations: 9.812 kB / 352.8 MB, free: 13.33 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.5921/0.6062, allocations: 22.81 MB / 375.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.6064, allocations: 59.81 kB / 375.7 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.6064, allocations: 8 kB / 375.7 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009138/0.6073, allocations: 303.8 kB / 376 MB, free: 8.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.489e-05/0.6074, allocations: 23.86 kB / 376 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.222e-05/0.6075, allocations: 51.91 kB / 376.1 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006742/0.6082, allocations: 311.1 kB / 376.4 MB, free: 7.852 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6082, allocations: 3.938 kB / 376.4 MB, free: 7.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6082, allocations: 0 / 376.4 MB, free: 7.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.6082, allocations: 0 / 376.4 MB, free: 7.848 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0005547/0.6087, allocations: 0.5152 MB / 376.9 MB, free: 7.297 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.6088, allocations: 12.03 kB / 376.9 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/0.6091, allocations: 156.5 kB / 377.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.6092, allocations: 132.5 kB / 377.2 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.6093, allocations: 28.31 kB / 377.2 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.6093, allocations: 8.375 kB / 377.2 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.6095, allocations: 232.5 kB / 377.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6095, allocations: 0 / 377.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.6095, allocations: 0 / 377.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.6096, allocations: 15.98 kB / 377.5 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.914e-05/0.6096, allocations: 67.98 kB / 377.5 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.6102, allocations: 0.7065 MB / 378.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.6103, allocations: 87.17 kB / 378.3 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.6103, allocations: 48.8 kB / 378.4 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.6103, allocations: 4 kB / 378.4 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.6104, allocations: 37.39 kB / 378.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.6104, allocations: 0 / 378.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.000245/0.6106, allocations: 220.8 kB / 378.6 MB, free: 5.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.6106, allocations: 63.33 kB / 378.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.6107, allocations: 173.9 kB / 378.9 MB, free: 5.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.6108, allocations: 29.7 kB / 378.9 MB, free: 5.137 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.6108, allocations: 155.3 kB / 379 MB, free: 4.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.6109, allocations: 118.9 kB / 379.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.6109, allocations: 51.33 kB / 379.2 MB, free: 4.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.611, allocations: 0.4962 MB / 379.7 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.6111, allocations: 40.31 kB / 379.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.6111, allocations: 102.7 kB / 379.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.916e-05/0.6112, allocations: 130.9 kB / 380 MB, free: 3.977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6112, allocations: 0 / 380 MB, free: 3.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001643/0.6114, allocations: 181.3 kB / 380.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6114, allocations: 4 kB / 380.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6114, allocations: 4 kB / 380.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.6114, allocations: 0 / 380.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.6115, allocations: 23.92 kB / 380.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.6115, allocations: 4 kB / 380.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.6116, allocations: 23.78 kB / 380.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.6116, allocations: 4 kB / 380.2 MB, free: 3.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (fluid.phaseOutput,fluid.state.phase,fluid.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.022e-05/0.6117, allocations: 168.7 kB / 380.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.6117, allocations: 19.91 kB / 380.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.6119, allocations: 171.9 kB / 380.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.6119, allocations: 11.98 kB / 380.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.6119, allocations: 3.938 kB / 380.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.6119, allocations: 0 / 380.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.6121, allocations: 169.1 kB / 380.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6121, allocations: 0 / 380.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.6121, allocations: 15.92 kB / 380.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6121, allocations: 4 kB / 380.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.6121, allocations: 4 kB / 380.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6121, allocations: 0 / 380.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6121, allocations: 0 / 380.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.6123, allocations: 340.3 kB / 381.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.6123, allocations: 15.84 kB / 381.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.6123, allocations: 4 kB / 381.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.6124, allocations: 7.938 kB / 381.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.6124, allocations: 15.97 kB / 381.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.6124, allocations: 4 kB / 381.1 MB, free: 2.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.755e-05/0.6125, allocations: 135.1 kB / 381.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.6125, allocations: 4 kB / 381.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.6127, allocations: 67.83 kB / 381.3 MB, free: 2.527 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fluid.state.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004083/0.6131, allocations: 273.3 kB / 381.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.6133, allocations: 178.2 kB / 381.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6133, allocations: 0 / 381.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.6134, allocations: 148 kB / 381.9 MB, free: 1.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.6137, allocations: 76.42 kB / 382 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006172/0.6143, allocations: 410.6 kB / 382.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.919e-05/0.6144, allocations: 89.12 kB / 382.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.987e-05/0.6145, allocations: 24.97 kB / 382.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.6146, allocations: 138.1 kB / 382.7 MB, free: 1.156 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.6146, allocations: 0 / 382.7 MB, free: 1.156 MB / 298.7 MB Notification: Performance of Templates: time 0.008376/0.623, allocations: 6.572 MB / 389.2 MB, free: 10.57 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.968321855645627]