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.001345/0.001345, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001654/0.001654, allocations: 169 kB / 23.27 MB, free: 1.223 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.096/1.096, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.009365/0.009365, allocations: 1.989 MB / 262.2 MB, free: 10.9 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.553e-06/1.553e-06, allocations: 0 / 332.8 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.423e-05, allocations: 10.25 kB / 332.8 MB, free: 1.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.01127/0.01129, allocations: 8.934 MB / 341.7 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007938/0.01923, allocations: 8.381 MB / 350.1 MB, free: 352 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.01943, allocations: 4 kB / 350.1 MB, free: 348 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005618/0.01999, allocations: 127.2 kB / 350.2 MB, free: 220 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.02038, allocations: 103.2 kB / 350.3 MB, free: 116 kB / 314.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.004511/0.0249, allocations: 1.47 MB / 351.8 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.02529, allocations: 242.8 kB / 352 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.02534, allocations: 5.812 kB / 352 MB, free: 14.39 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.6008/0.6261, allocations: 22.8 MB / 374.8 MB, free: 9.598 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.6263, allocations: 51.89 kB / 374.9 MB, free: 9.547 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.6264, allocations: 8 kB / 374.9 MB, free: 9.539 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.6276, allocations: 311.8 kB / 375.2 MB, free: 9.234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.6277, allocations: 31.84 kB / 375.2 MB, free: 9.203 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.103e-05/0.6277, allocations: 47.91 kB / 375.3 MB, free: 9.156 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009081/0.6287, allocations: 311.1 kB / 375.6 MB, free: 8.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6287, allocations: 0 / 375.6 MB, free: 8.852 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6287, allocations: 4 kB / 375.6 MB, free: 8.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.6287, allocations: 0 / 375.6 MB, free: 8.848 MB / 346.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.0007509/0.6294, allocations: 0.5074 MB / 376.1 MB, free: 8.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.34e-05/0.6295, allocations: 16.03 kB / 376.1 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005095/0.63, allocations: 148.6 kB / 376.3 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.6302, allocations: 152.3 kB / 376.4 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.6302, allocations: 16.38 kB / 376.4 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.6302, allocations: 16.31 kB / 376.4 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.6305, allocations: 220.4 kB / 376.6 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.6305, allocations: 0 / 376.6 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.6305, allocations: 4 kB / 376.7 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.6305, allocations: 11.98 kB / 376.7 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.203e-05/0.6306, allocations: 75.91 kB / 376.7 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008319/0.6314, allocations: 0.7103 MB / 377.4 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.6316, allocations: 71.33 kB / 377.5 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.6316, allocations: 52.73 kB / 377.6 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.6317, allocations: 11.98 kB / 377.6 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.6317, allocations: 33.39 kB / 377.6 MB, free: 6.656 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.6317, allocations: 4 kB / 377.6 MB, free: 6.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002754/0.632, allocations: 220.8 kB / 377.8 MB, free: 6.434 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.632, allocations: 63.34 kB / 377.9 MB, free: 6.359 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.6321, allocations: 169.8 kB / 378.1 MB, free: 6.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.6321, allocations: 25.7 kB / 378.1 MB, free: 6.145 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.6322, allocations: 159.3 kB / 378.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.6323, allocations: 118.9 kB / 378.4 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.6323, allocations: 47.34 kB / 378.4 MB, free: 5.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6325, allocations: 0.4962 MB / 378.9 MB, free: 5.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.235e-05/0.6325, allocations: 40.25 kB / 378.9 MB, free: 5.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.6326, allocations: 110.7 kB / 379 MB, free: 5.129 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.6328, allocations: 126.9 kB / 379.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6328, allocations: 3.938 kB / 379.2 MB, free: 4.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001948/0.633, allocations: 181.5 kB / 379.4 MB, free: 4.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.633, allocations: 11.89 kB / 379.4 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.633, allocations: 4 kB / 379.4 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.633, allocations: 0 / 379.4 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/0.6331, allocations: 23.88 kB / 379.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6331, allocations: 7.984 kB / 379.4 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.6332, allocations: 15.84 kB / 379.4 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.6332, allocations: 4 kB / 379.4 MB, free: 4.727 MB / 346.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.485e-05/0.6333, allocations: 168.5 kB / 379.6 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.6333, allocations: 15.91 kB / 379.6 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.6335, allocations: 184.1 kB / 379.8 MB, free: 4.348 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.6335, allocations: 4 kB / 379.8 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6336, allocations: 3.938 kB / 379.8 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6336, allocations: 0 / 379.8 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.6338, allocations: 188.5 kB / 380 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.6338, allocations: 4 kB / 380 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.6338, allocations: 12 kB / 380 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.6338, allocations: 4 kB / 380 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.6339, allocations: 3.984 kB / 380 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.6339, allocations: 4 kB / 380 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.6339, allocations: 3.938 kB / 380 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.6342, allocations: 324.3 kB / 380.3 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.6342, allocations: 19.88 kB / 380.3 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.6342, allocations: 0 / 380.3 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.6343, allocations: 11.98 kB / 380.3 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.6343, allocations: 7.984 kB / 380.4 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.6343, allocations: 3.984 kB / 380.4 MB, free: 3.719 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.591e-05/0.6344, allocations: 139.1 kB / 380.5 MB, free: 3.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6344, allocations: 3.938 kB / 380.5 MB, free: 3.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.6347, allocations: 67.83 kB / 380.6 MB, free: 3.512 MB / 346.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.0005269/0.6352, allocations: 275.6 kB / 380.8 MB, free: 3.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.6355, allocations: 182 kB / 381 MB, free: 3.043 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6355, allocations: 0 / 381 MB, free: 3.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.6356, allocations: 140 kB / 381.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.636, allocations: 84.36 kB / 381.2 MB, free: 2.816 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009/0.6369, allocations: 410.7 kB / 381.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.605e-05/0.6369, allocations: 85.14 kB / 381.7 MB, free: 2.285 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.637, allocations: 24.97 kB / 381.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.6372, allocations: 138.1 kB / 381.9 MB, free: 2.125 MB / 346.7 MB Notification: Performance of SimCode: time 1.213e-06/0.6372, allocations: 0 / 381.9 MB, free: 2.125 MB / 346.7 MB Notification: Performance of Templates: time 0.009967/0.6472, allocations: 6.464 MB / 388.3 MB, free: 11.65 MB / 362.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: 4.065066036768258]