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.002618/0.002618, allocations: 85.48 kB / 19.44 MB, free: 344 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.003225/0.003225, allocations: 177.2 kB / 22.77 MB, free: 1.66 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.716/1.716, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.01294/0.01294, allocations: 1.997 MB / 261.6 MB, free: 11.1 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.273e-06/1.273e-06, allocations: 0 / 331.6 MB, free: 17.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.346e-05, allocations: 6.312 kB / 331.6 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.007304/0.007327, allocations: 8.988 MB / 340.6 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005286/0.01261, allocations: 8.514 MB / 349.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.01269, allocations: 0 / 349.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005355/0.01323, allocations: 143.1 kB / 349.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.01356, allocations: 103.2 kB / 349.3 MB, free: 15.48 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.003566/0.01713, allocations: 1.463 MB / 350.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.0175, allocations: 246.7 kB / 351 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.01754, allocations: 9.812 kB / 351.1 MB, free: 13.76 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.8939/0.9115, allocations: 22.9 MB / 374 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.9117, allocations: 55.83 kB / 374 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.9117, allocations: 8 kB / 374 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.9128, allocations: 299.8 kB / 374.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.9128, allocations: 35.83 kB / 374.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.9129, allocations: 51.91 kB / 374.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008226/0.9138, allocations: 358.9 kB / 374.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.9138, allocations: 8 kB / 374.8 MB, free: 8.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.9138, allocations: 0 / 374.8 MB, free: 8.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.9138, allocations: 0 / 374.8 MB, free: 8.125 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.0008454/0.9146, allocations: 0.5149 MB / 375.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.9147, allocations: 8.031 kB / 375.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.9152, allocations: 148.6 kB / 375.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.9154, allocations: 148.4 kB / 375.6 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.9154, allocations: 16.38 kB / 375.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.9155, allocations: 12.38 kB / 375.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.9159, allocations: 243.8 kB / 375.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.9159, allocations: 0 / 375.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.9159, allocations: 4 kB / 375.8 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.9159, allocations: 11.98 kB / 375.9 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.9162, allocations: 119.9 kB / 376 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.9173, allocations: 0.7383 MB / 376.7 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.9175, allocations: 95.31 kB / 376.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.9177, allocations: 75.95 kB / 376.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.9177, allocations: 0 / 376.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.9177, allocations: 41.39 kB / 376.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.082e-06/0.9177, allocations: 0 / 376.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006122/0.9183, allocations: 281.5 kB / 377.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.9184, allocations: 55.41 kB / 377.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.9186, allocations: 186 kB / 377.4 MB, free: 5.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.9186, allocations: 29.7 kB / 377.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.9187, allocations: 155.3 kB / 377.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.9188, allocations: 119 kB / 377.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/0.9189, allocations: 55.36 kB / 377.8 MB, free: 4.887 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002786/0.9192, allocations: 0.5001 MB / 378.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.9193, allocations: 60.3 kB / 378.3 MB, free: 4.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.9196, allocations: 126.8 kB / 378.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.9199, allocations: 178.8 kB / 378.6 MB, free: 3.965 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9199, allocations: 0 / 378.6 MB, free: 3.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004357/0.9203, allocations: 225.3 kB / 378.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.9203, allocations: 4 kB / 378.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.9203, allocations: 4.156 kB / 378.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.9204, allocations: 7.938 kB / 378.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.9205, allocations: 19.98 kB / 378.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.9205, allocations: 4 kB / 378.9 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.71e-05/0.9206, allocations: 31.66 kB / 378.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.9206, allocations: 8 kB / 378.9 MB, free: 3.66 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 0.000148/0.9208, allocations: 168.6 kB / 379.1 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.9208, allocations: 11.91 kB / 379.1 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.9213, allocations: 215.4 kB / 379.3 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.9213, allocations: 19.92 kB / 379.3 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.9213, allocations: 0 / 379.3 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9213, allocations: 0 / 379.3 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.9216, allocations: 188.5 kB / 379.5 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9216, allocations: 4 kB / 379.5 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.419e-05/0.9216, allocations: 8 kB / 379.5 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.9216, allocations: 0 / 379.5 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.9217, allocations: 11.98 kB / 379.5 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9217, allocations: 0 / 379.5 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.9217, allocations: 3.938 kB / 379.5 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.9222, allocations: 376.3 kB / 379.9 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.9222, allocations: 23.78 kB / 379.9 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.9222, allocations: 3.984 kB / 379.9 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.9223, allocations: 4 kB / 379.9 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.9224, allocations: 15.92 kB / 380 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.9224, allocations: 3.984 kB / 380 MB, free: 2.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.851e-05/0.9225, allocations: 131.2 kB / 380.1 MB, free: 2.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9225, allocations: 0 / 380.1 MB, free: 2.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003465/0.9229, allocations: 67.81 kB / 380.2 MB, free: 2.355 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.0007692/0.9236, allocations: 278.6 kB / 380.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004975/0.9241, allocations: 230.5 kB / 380.7 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9241, allocations: 0 / 380.7 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.9244, allocations: 159.7 kB / 380.8 MB, free: 1.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.925, allocations: 79.98 kB / 380.9 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007909/0.9258, allocations: 438.5 kB / 381.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.9259, allocations: 139.3 kB / 381.5 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.898e-05/0.926, allocations: 17.14 kB / 381.5 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.9261, allocations: 24.5 kB / 381.5 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.9261, allocations: 0 / 381.5 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of Templates: time 0.01196/0.9381, allocations: 5.585 MB / 387.1 MB, free: 11.37 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: 6.451230182894506]