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.0009903/0.0009903, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002479, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001109/0.001109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001504/0.002613, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9985/0.9985, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1143/1.113, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.00723/0.00723, allocations: 1.986 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001793/0.009022, allocations: 1.223 MB / 247.4 MB, free: 11.54 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 9.42e-07/9.42e-07, allocations: 0 / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.476e-06/9.418e-06, allocations: 2.312 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.006268/0.006277, allocations: 8.364 MB / 257 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004957/0.006773, allocations: 0.9497 MB / 258 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.006795, allocations: 0 / 258 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.007021, allocations: 59.64 kB / 258 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.345e-05/0.007045, allocations: 23.78 kB / 258 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.007298, allocations: 130.9 kB / 258.2 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.925e-05/0.007357, allocations: 59.56 kB / 258.2 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.845e-05/0.007385, allocations: 3.984 kB / 258.2 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.66e-05/0.007422, allocations: 23.92 kB / 258.3 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.007463, allocations: 23.91 kB / 258.3 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.595e-06/0.00747, allocations: 0 / 258.3 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1449/0.1524, allocations: 22.79 MB / 281.1 MB, free: 17.14 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.wf.ThermodynamicState is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.1524, allocations: 7.203 kB / 281.1 MB, free: 17.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.1525, allocations: 13.12 kB / 281.1 MB, free: 17.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1527, allocations: 77.2 kB / 281.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.1527, allocations: 2.531 kB / 281.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1527, allocations: 0 / 281.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1527, allocations: 0 / 281.2 MB, free: 17.14 MB / 266.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.0003229/0.153, allocations: 279.7 kB / 281.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.1531, allocations: 9.703 kB / 281.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.1532, allocations: 110.4 kB / 281.6 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.96e-05/0.1533, allocations: 112.1 kB / 281.7 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1533, allocations: 3.031 kB / 281.7 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.1533, allocations: 3 kB / 281.7 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.098e-05/0.1534, allocations: 51.12 kB / 281.7 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1534, allocations: 1.062 kB / 281.7 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.1534, allocations: 3.938 kB / 281.7 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1534, allocations: 2.656 kB / 281.7 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.1534, allocations: 20.14 kB / 281.7 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.1536, allocations: 203.6 kB / 281.9 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.468e-05/0.1537, allocations: 29.48 kB / 282 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.1537, allocations: 13 kB / 282 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.1537, allocations: 6.375 kB / 282 MB, free: 16.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.1537, allocations: 33.22 kB / 282 MB, free: 16.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.1537, allocations: 1.094 kB / 282 MB, free: 16.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001254/0.1538, allocations: 82.92 kB / 282.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.719e-05/0.1539, allocations: 54.69 kB / 282.2 MB, free: 16.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.411e-05/0.1539, allocations: 95.78 kB / 282.3 MB, free: 16.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-06/0.1539, allocations: 25.7 kB / 282.3 MB, free: 16.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.273e-05/0.1539, allocations: 86.75 kB / 282.4 MB, free: 16.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.1539, allocations: 52.23 kB / 282.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.1539, allocations: 20.7 kB / 282.4 MB, free: 16.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.073e-05/0.154, allocations: 322.6 kB / 282.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.154, allocations: 5.375 kB / 282.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.154, allocations: 9.812 kB / 282.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.062e-05/0.154, allocations: 41.02 kB / 282.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.154, allocations: 0 / 282.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 5.385e-05/0.1541, allocations: 66.45 kB / 282.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1541, allocations: 8.609 kB / 282.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1541, allocations: 0 / 282.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1541, allocations: 0 / 282.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.1542, allocations: 4.781 kB / 282.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.1542, allocations: 0 / 282.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.1542, allocations: 13.91 kB / 282.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1542, allocations: 0 / 282.9 MB, free: 15.7 MB / 266.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 4.028e-05/0.1542, allocations: 113.6 kB / 283 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.1542, allocations: 5.938 kB / 283 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.1543, allocations: 8.938 kB / 283 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1543, allocations: 0.7969 kB / 283 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.1543, allocations: 1.281 kB / 283 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1543, allocations: 4.734 kB / 283 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.202e-05/0.1543, allocations: 83.44 kB / 283.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1543, allocations: 0 / 283.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-06/0.1543, allocations: 7.609 kB / 283.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.1544, allocations: 8.172 kB / 283.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-06/0.1544, allocations: 7.594 kB / 283.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-06/0.1544, allocations: 5.031 kB / 283.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1544, allocations: 0 / 283.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1544, allocations: 0 / 283.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.202e-05/0.1544, allocations: 160.6 kB / 283.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-06/0.1544, allocations: 1.75 kB / 283.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.703e-05/0.1545, allocations: 5.094 kB / 283.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-06/0.1545, allocations: 1.969 kB / 283.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1545, allocations: 6 kB / 283.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.51e-06/0.1545, allocations: 8.688 kB / 283.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1545, allocations: 1.781 kB / 283.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001255/0.1546, allocations: 20.88 kB / 283.3 MB, free: 15.34 MB / 266.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.0002378/0.1548, allocations: 132.6 kB / 283.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.155, allocations: 100.3 kB / 283.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.155, allocations: 1.609 kB / 283.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.155, allocations: 85.92 kB / 283.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1552, allocations: 42.62 kB / 283.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.1567, allocations: 262.8 kB / 283.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.1568, allocations: 76.8 kB / 284 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.21e-05/0.1568, allocations: 12.94 kB / 284 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.1569, allocations: 79.59 kB / 284.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1569, allocations: 0 / 284.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Templates: time 0.004746/0.1616, allocations: 2.607 MB / 286.7 MB, free: 14.48 MB / 266.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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1933957124128938]