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.0007969/0.0007969, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001275/0.001275, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8608/0.8608, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.007629/0.007629, allocations: 1.981 MB / 261.9 MB, free: 11.27 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.332e-06/1.332e-06, allocations: 3.938 kB / 385.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.656e-05, allocations: 2.281 kB / 385.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.006121/0.006137, allocations: 8.158 MB / 394 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.01024, allocations: 7.299 MB / 401.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.01031, allocations: 7.875 kB / 401.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.01062, allocations: 135.2 kB / 401.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.01082, allocations: 107.2 kB / 401.6 MB, free: 11.66 MB / 330.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.002667/0.01349, allocations: 1.463 MB / 403.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.01378, allocations: 242.8 kB / 403.3 MB, free: 9.953 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.01381, allocations: 13.75 kB / 403.3 MB, free: 9.941 MB / 330.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.631/0.6448, allocations: 13.78 MB / 417.1 MB, free: 26.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.645, allocations: 55.34 kB / 417.1 MB, free: 26.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.645, allocations: 9.719 kB / 417.1 MB, free: 26.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007575/0.6457, allocations: 305.3 kB / 417.4 MB, free: 26.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.6458, allocations: 27.78 kB / 417.5 MB, free: 26.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.6459, allocations: 48.58 kB / 417.5 MB, free: 26.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005868/0.6465, allocations: 362 kB / 417.9 MB, free: 26.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6465, allocations: 3.531 kB / 417.9 MB, free: 26.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.6465, allocations: 1.156 kB / 417.9 MB, free: 26.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.6465, allocations: 0.75 kB / 417.9 MB, free: 26.68 MB / 330.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.0005055/0.647, allocations: 419 kB / 418.3 MB, free: 26.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.647, allocations: 9.469 kB / 418.3 MB, free: 26.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.6472, allocations: 92.02 kB / 418.4 MB, free: 26.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.6474, allocations: 147.4 kB / 418.5 MB, free: 26.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.6474, allocations: 19.72 kB / 418.6 MB, free: 26.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.6474, allocations: 9.969 kB / 418.6 MB, free: 26.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.6477, allocations: 312 kB / 418.9 MB, free: 26.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.6477, allocations: 4.562 kB / 418.9 MB, free: 26.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.6478, allocations: 5.344 kB / 418.9 MB, free: 26.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.6478, allocations: 13.66 kB / 418.9 MB, free: 26.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.648, allocations: 249.9 kB / 419.1 MB, free: 26.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.6486, allocations: 0.6612 MB / 419.8 MB, free: 25.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.6487, allocations: 141.7 kB / 419.9 MB, free: 25.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.6489, allocations: 134.9 kB / 420.1 MB, free: 25.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.6489, allocations: 1.703 kB / 420.1 MB, free: 25.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.6489, allocations: 33.44 kB / 420.1 MB, free: 25.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.6489, allocations: 0 / 420.1 MB, free: 25.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004486/0.6494, allocations: 420.9 kB / 420.5 MB, free: 25.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.6494, allocations: 57.25 kB / 420.6 MB, free: 25.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.6494, allocations: 121.6 kB / 420.7 MB, free: 25.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.6494, allocations: 25.7 kB / 420.7 MB, free: 25.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.6495, allocations: 110.5 kB / 420.8 MB, free: 25.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.6495, allocations: 114.4 kB / 420.9 MB, free: 25.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.6496, allocations: 40.72 kB / 421 MB, free: 25.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.987e-05/0.6496, allocations: 322.5 kB / 421.3 MB, free: 24.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.6497, allocations: 124.2 kB / 421.4 MB, free: 24.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.6498, allocations: 176.3 kB / 421.6 MB, free: 24.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.65, allocations: 211.8 kB / 421.8 MB, free: 24.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.65, allocations: 1.719 kB / 421.8 MB, free: 24.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002843/0.6503, allocations: 297.3 kB / 422.1 MB, free: 24.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.6503, allocations: 6.359 kB / 422.1 MB, free: 24.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6503, allocations: 2.156 kB / 422.1 MB, free: 24.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6503, allocations: 2.531 kB / 422.1 MB, free: 24.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.6504, allocations: 29.25 kB / 422.1 MB, free: 24.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.6504, allocations: 1.844 kB / 422.1 MB, free: 24.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.6505, allocations: 31.22 kB / 422.1 MB, free: 24.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.6505, allocations: 15.28 kB / 422.2 MB, free: 24.7 MB / 330.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 5.413e-05/0.6505, allocations: 121.8 kB / 422.3 MB, free: 24.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.6506, allocations: 12.53 kB / 422.3 MB, free: 24.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.6509, allocations: 343.2 kB / 422.6 MB, free: 24.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.6509, allocations: 3.312 kB / 422.6 MB, free: 24.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6509, allocations: 8.5 kB / 422.6 MB, free: 24.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.6509, allocations: 1.719 kB / 422.6 MB, free: 24.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.651, allocations: 217.3 kB / 422.9 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.651, allocations: 4.656 kB / 422.9 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.6511, allocations: 16.08 kB / 422.9 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.6511, allocations: 4.719 kB / 422.9 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6511, allocations: 5.547 kB / 422.9 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6511, allocations: 1.25 kB / 422.9 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6511, allocations: 0.5625 kB / 422.9 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.6514, allocations: 444.4 kB / 423.3 MB, free: 24.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.6514, allocations: 22.64 kB / 423.3 MB, free: 24.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.6514, allocations: 4.75 kB / 423.3 MB, free: 24.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.731e-05/0.6515, allocations: 6.875 kB / 423.4 MB, free: 24.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.6515, allocations: 20.83 kB / 423.4 MB, free: 24.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.6515, allocations: 3.984 kB / 423.4 MB, free: 24.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.128e-05/0.6515, allocations: 90.88 kB / 423.5 MB, free: 24.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6515, allocations: 0 / 423.5 MB, free: 24.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.6518, allocations: 65.3 kB / 423.5 MB, free: 24.13 MB / 330.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.0003213/0.6521, allocations: 261.8 kB / 423.8 MB, free: 24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.6524, allocations: 350.9 kB / 424.1 MB, free: 23.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.6524, allocations: 0 / 424.1 MB, free: 23.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.6526, allocations: 203.3 kB / 424.3 MB, free: 23.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.6529, allocations: 81.77 kB / 424.4 MB, free: 23.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.6534, allocations: 0.5167 MB / 424.9 MB, free: 23.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.807e-05/0.6535, allocations: 140.2 kB / 425.1 MB, free: 23.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.6536, allocations: 21.69 kB / 425.1 MB, free: 23.55 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6536, allocations: 0 / 425.1 MB, free: 23.55 MB / 330.7 MB Notification: Performance of Templates: time 0.004244/0.6578, allocations: 3.523 MB / 428.6 MB, free: 23.12 MB / 330.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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.253798962570727] Failed to read output from testmodel.py, exit status != 0: 0.6622609794139862 0.6684673799999999 0.020679647000000002 Calling exit ...