Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.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.001341/0.001341, allocations: 79.81 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001438/0.001438, allocations: 155.5 kB / 23.01 MB, free: 4.945 MB / 14.72 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01462/0.01462, allocations: 2 MB / 261.8 MB, free: 14.66 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.88 kB / 385.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09863, allocations: 54.14 MB / 439.8 MB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.01147/0.1101, allocations: 8.358 MB / 448.2 MB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008068/0.1182, allocations: 7.416 MB / 455.6 MB, free: 12.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1183, allocations: 7.938 kB / 455.6 MB, free: 12.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004742/0.1188, allocations: 123.2 kB / 455.7 MB, free: 12.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.1191, allocations: 107.3 kB / 455.8 MB, free: 12.08 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003305/0.1224, allocations: 1.447 MB / 457.3 MB, free: 10.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.1228, allocations: 270.7 kB / 457.5 MB, free: 10.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/0.1228, allocations: 9.812 kB / 457.6 MB, free: 10.36 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.1376/0.2605, allocations: 12.92 MB / 470.5 MB, free: 15.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.2607, allocations: 79.62 kB / 470.6 MB, free: 15.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.2608, allocations: 8 kB / 470.6 MB, free: 15.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.2627, allocations: 475.9 kB / 471 MB, free: 14.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.809e-05/0.2628, allocations: 35.83 kB / 471.1 MB, free: 14.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.2629, allocations: 71.67 kB / 471.1 MB, free: 14.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.2644, allocations: 0.5102 MB / 471.6 MB, free: 13.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2644, allocations: 0 / 471.6 MB, free: 13.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2644, allocations: 3.938 kB / 471.6 MB, free: 13.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2644, allocations: 0 / 471.6 MB, free: 13.95 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009505/0.2653, allocations: 496.6 kB / 472.1 MB, free: 13.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2654, allocations: 16.02 kB / 472.1 MB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003684/0.2657, allocations: 60.75 kB / 472.2 MB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.266, allocations: 138.4 kB / 472.3 MB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.266, allocations: 8.375 kB / 472.3 MB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.266, allocations: 15.89 kB / 472.4 MB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.2667, allocations: 295 kB / 472.7 MB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2667, allocations: 4 kB / 472.7 MB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2667, allocations: 4 kB / 472.7 MB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.2667, allocations: 15.98 kB / 472.7 MB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.2672, allocations: 196.4 kB / 472.9 MB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.2687, allocations: 0.6121 MB / 473.5 MB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.2693, allocations: 202.5 kB / 473.7 MB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.2695, allocations: 128.8 kB / 473.8 MB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.2697, allocations: 103.9 kB / 473.9 MB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.2698, allocations: 38.56 kB / 473.9 MB, free: 11.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=43): time 1.533e-06/0.2698, allocations: 0 / 473.9 MB, free: 11.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=47): time 0.00304/0.2728, allocations: 1.178 MB / 475.1 MB, free: 10.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.2729, allocations: 51.41 kB / 475.2 MB, free: 10.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.273, allocations: 129.8 kB / 475.3 MB, free: 10.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.273, allocations: 33.7 kB / 475.3 MB, free: 10.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.2731, allocations: 108.9 kB / 475.4 MB, free: 9.945 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.2732, allocations: 162.5 kB / 475.6 MB, free: 9.785 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.777e-05/0.2733, allocations: 65.69 kB / 475.7 MB, free: 9.715 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2735, allocations: 334.8 kB / 476 MB, free: 9.379 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.2738, allocations: 124.5 kB / 476.1 MB, free: 9.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.2741, allocations: 200.9 kB / 476.3 MB, free: 9.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.2747, allocations: 341.8 kB / 476.6 MB, free: 8.688 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2747, allocations: 4 kB / 476.6 MB, free: 8.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00118/0.2759, allocations: 490.1 kB / 477.1 MB, free: 8.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2759, allocations: 4 kB / 477.1 MB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2759, allocations: 4 kB / 477.1 MB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007341/0.2766, allocations: 144.8 kB / 477.3 MB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2768, allocations: 39.91 kB / 477.3 MB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007323/0.2775, allocations: 0.646 MB / 478 MB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.2777, allocations: 20.03 kB / 478 MB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.2777, allocations: 16.09 kB / 478 MB, free: 7.297 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.2779, allocations: 129.8 kB / 478.1 MB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.2779, allocations: 15.91 kB / 478.1 MB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.462e-05/0.278, allocations: 26.27 kB / 478.2 MB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.278, allocations: 11.94 kB / 478.2 MB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.278, allocations: 3.984 kB / 478.2 MB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.278, allocations: 0 / 478.2 MB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.2784, allocations: 218.2 kB / 478.4 MB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2784, allocations: 4 kB / 478.4 MB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.2786, allocations: 43.91 kB / 478.4 MB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003502/0.2789, allocations: 64.73 kB / 478.5 MB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.2789, allocations: 7.984 kB / 478.5 MB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.2805, allocations: 1.422 MB / 479.9 MB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2805, allocations: 4.188 kB / 479.9 MB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.2819, allocations: 0.7068 MB / 480.6 MB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.2819, allocations: 11.94 kB / 480.6 MB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.2819, allocations: 4 kB / 480.7 MB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.2821, allocations: 19.92 kB / 480.7 MB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.2822, allocations: 15.97 kB / 480.7 MB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.2822, allocations: 11.98 kB / 480.7 MB, free: 4.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.988e-05/0.2823, allocations: 99.33 kB / 480.8 MB, free: 4.305 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2823, allocations: 0 / 480.8 MB, free: 4.305 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003928/0.2827, allocations: 63.94 kB / 480.9 MB, free: 4.242 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005298/0.2832, allocations: 185 kB / 481 MB, free: 4.051 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008755/0.2841, allocations: 343.7 kB / 481.4 MB, free: 3.715 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2841, allocations: 0 / 481.4 MB, free: 3.715 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000657/0.2847, allocations: 295.4 kB / 481.7 MB, free: 3.414 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.2854, allocations: 99.7 kB / 481.8 MB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.2867, allocations: 0.6844 MB / 482.4 MB, free: 2.609 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.2869, allocations: 129.6 kB / 482.6 MB, free: 2.461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.2872, allocations: 101.3 kB / 482.7 MB, free: 2.355 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.2872, allocations: 20.5 kB / 482.7 MB, free: 2.336 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2872, allocations: 0 / 482.7 MB, free: 2.336 MB / 446.1 MB Notification: Performance of Templates: time 0.1922/0.4794, allocations: 5.339 MB / 488 MB, free: 89.35 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.740892099100165] Failed to read output from testmodel.py, exit status != 0: 0.4870095360092819 0.498184094 0.23087404400000003 Calling exit ...