Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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.001369/0.001369, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001594/0.001594, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 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 1.479/1.479, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.01248/0.01248, allocations: 1.989 MB / 261.6 MB, free: 11.08 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_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 331.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.415e-05, allocations: 4.984 kB / 331.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.006943/0.006967, allocations: 7.565 MB / 339.2 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005398/0.007507, allocations: 0.8174 MB / 340 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.007537, allocations: 0 / 340 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.007788, allocations: 63.58 kB / 340 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.448e-05/0.007823, allocations: 27.7 kB / 340.1 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.008139, allocations: 115.2 kB / 340.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.695e-05/0.008216, allocations: 67.47 kB / 340.2 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.008255, allocations: 4 kB / 340.2 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.008299, allocations: 23.97 kB / 340.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.00835, allocations: 15.94 kB / 340.3 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.008363, allocations: 0 / 340.3 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1359/0.1443, allocations: 22.84 MB / 363.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.1443, allocations: 7.922 kB / 363.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.1444, allocations: 23.92 kB / 363.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.1447, allocations: 75.78 kB / 363.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1447, allocations: 0 / 363.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1447, allocations: 4 kB / 363.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1447, allocations: 4 kB / 363.2 MB, free: 3.668 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004704/0.1452, allocations: 286.1 kB / 363.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1452, allocations: 12.03 kB / 363.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.1454, allocations: 36.81 kB / 363.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1456, allocations: 109.7 kB / 363.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1456, allocations: 4.375 kB / 363.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.1456, allocations: 384 / 363.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1457, allocations: 73.98 kB / 363.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1457, allocations: 0 / 363.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.1457, allocations: 0 / 363.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1458, allocations: 4 kB / 363.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.671e-05/0.1458, allocations: 39.98 kB / 363.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.1463, allocations: 253.3 kB / 364 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.169e-05/0.1463, allocations: 34.56 kB / 364.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.1464, allocations: 28.84 kB / 364.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.1464, allocations: 0 / 364.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.1465, allocations: 34.56 kB / 364.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 8.12e-07/0.1465, allocations: 0 / 364.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002891/0.1468, allocations: 117.7 kB / 364.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1468, allocations: 51.41 kB / 364.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.1469, allocations: 97.84 kB / 364.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1469, allocations: 29.7 kB / 364.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.1469, allocations: 80.14 kB / 364.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.147, allocations: 55.48 kB / 364.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.147, allocations: 17.72 kB / 364.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1472, allocations: 322.8 kB / 364.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/0.1473, allocations: 16 kB / 364.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.1473, allocations: 24.08 kB / 364.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1474, allocations: 56.7 kB / 365 MB, free: 1.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1474, allocations: 0 / 365 MB, free: 1.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001551/0.1476, allocations: 93.58 kB / 365.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1476, allocations: 8 kB / 365.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1476, allocations: 0 / 365.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1476, allocations: 0 / 365.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.1477, allocations: 4 kB / 365.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.1477, allocations: 0 / 365.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.1477, allocations: 7.891 kB / 365.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.1477, allocations: 4 kB / 365.1 MB, free: 1.633 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001177/0.1479, allocations: 121.8 kB / 365.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.1479, allocations: 0 / 365.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.1479, allocations: 4.312 kB / 365.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1479, allocations: 12 kB / 365.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1479, allocations: 0 / 365.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1479, allocations: 0 / 365.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.1481, allocations: 133.6 kB / 365.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.1481, allocations: 3.984 kB / 365.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.1482, allocations: 4 kB / 365.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1482, allocations: 0 / 365.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1482, allocations: 0 / 365.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1482, allocations: 0 / 365.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.1482, allocations: 3.938 kB / 365.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.1484, allocations: 195.9 kB / 365.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.1484, allocations: 7.953 kB / 365.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.1484, allocations: 3.984 kB / 365.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.1485, allocations: 4 kB / 365.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.1485, allocations: 0 / 365.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1485, allocations: 4 kB / 365.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.357e-05/0.1486, allocations: 75.28 kB / 365.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1486, allocations: 4 kB / 365.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.1488, allocations: 23.88 kB / 365.7 MB, free: 0.9883 MB / 282.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: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003298/0.1491, allocations: 124.2 kB / 365.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.1494, allocations: 101.7 kB / 365.9 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1494, allocations: 0 / 365.9 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1495, allocations: 86.64 kB / 366 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.1499, allocations: 43.81 kB / 366 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/0.1505, allocations: 252.4 kB / 366.3 MB, free: 360 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.1506, allocations: 102.1 kB / 366.4 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.602e-05/0.1506, allocations: 12.31 kB / 366.4 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.1507, allocations: 16.5 kB / 366.4 MB, free: 204 kB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1507, allocations: 0 / 366.4 MB, free: 204 kB / 282.7 MB Notification: Performance of Templates: time 0.006408/0.1571, allocations: 2.161 MB / 368.6 MB, free: 14.04 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.172345877974294]