Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Error: Unknown debug flag newInst. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006705/0.0006705, allocations: 77.38 kB / 5.957 MB, free: 1.863 MB / 7.832 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009276/0.001598, allocations: 448.2 kB / 6.394 MB, free: 1.422 MB / 7.832 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.0006937/0.0006937, allocations: 145.9 kB / 7.29 MB, free: 0.5273 MB / 7.832 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009745/0.001668, allocations: 471.7 kB / 7.75 MB, free: 68 kB / 7.832 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.9208/0.9208, allocations: 177.2 MB / 185.7 MB, free: 9.188 MB / 186.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09292/1.014, allocations: 53.65 MB / 239.4 MB, free: 3.461 MB / 234.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo): time 0.01051/0.01051, allocations: 2.093 MB / 242.2 MB, free: 0.6289 MB / 234.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002504/0.01301, allocations: 1.262 MB / 243.5 MB, free: 15.36 MB / 250.8 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/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_SVDSBTL.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 244.8 MB, free: 14.05 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.479e-05, allocations: 6.312 kB / 244.8 MB, free: 14.04 MB / 250.8 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic): time 0.01181/0.01183, allocations: 9.619 MB / 254.4 MB, free: 4.375 MB / 250.8 MB Notification: Performance of NFInst.instExpressions: time 0.00647/0.0183, allocations: 8.595 MB / 263 MB, free: 11.75 MB / 266.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.01842, allocations: 0 / 263 MB, free: 11.75 MB / 266.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.0188, allocations: 139.1 kB / 263.1 MB, free: 11.61 MB / 266.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.01906, allocations: 107.2 kB / 263.2 MB, free: 11.51 MB / 266.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004249/0.02331, allocations: 1.634 MB / 264.9 MB, free: 9.867 MB / 266.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.02367, allocations: 290.5 kB / 265.2 MB, free: 9.582 MB / 266.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.02373, allocations: 22.44 kB / 265.2 MB, free: 9.559 MB / 266.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Common/CheckCoolPropOptions.mo:2:1-108: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.9124/0.9362, allocations: 33.33 MB / 298.5 MB, free: 2.258 MB / 266.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.9363, allocations: 71.64 kB / 298.6 MB, free: 2.258 MB / 266.8 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.9364, allocations: 8.656 kB / 298.6 MB, free: 2.258 MB / 266.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.9374, allocations: 485.7 kB / 299.1 MB, free: 2.258 MB / 266.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropSVDSBTL.SaturationProperties 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropSVDSBTL.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 7.771e-05/0.9375, allocations: 23.72 kB / 299.1 MB, free: 2.258 MB / 266.8 MB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.9375, allocations: 53.53 kB / 299.1 MB, free: 2.258 MB / 266.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007333/0.9383, allocations: 464.6 kB / 299.6 MB, free: 2.254 MB / 266.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.9383, allocations: 2.625 kB / 299.6 MB, free: 2.254 MB / 266.8 MB Notification: Performance of FrontEnd: time 1.212e-06/0.9383, allocations: 0 / 299.6 MB, free: 2.254 MB / 266.8 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.9383, allocations: 0 / 299.6 MB, free: 2.254 MB / 266.8 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.0006079/0.9389, allocations: 0.5954 MB / 300.2 MB, free: 1.855 MB / 266.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.9389, allocations: 13.05 kB / 300.2 MB, free: 1.852 MB / 266.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.9391, allocations: 98.39 kB / 300.3 MB, free: 1.832 MB / 266.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.9393, allocations: 143 kB / 300.4 MB, free: 1.695 MB / 266.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.9393, allocations: 15.27 kB / 300.5 MB, free: 1.688 MB / 266.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.9393, allocations: 14.94 kB / 300.5 MB, free: 1.688 MB / 266.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.9396, allocations: 250.3 kB / 300.7 MB, free: 1.543 MB / 266.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.9396, allocations: 0 / 300.7 MB, free: 1.543 MB / 266.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.9396, allocations: 8.359 kB / 300.7 MB, free: 1.539 MB / 266.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.9396, allocations: 9.922 kB / 300.7 MB, free: 1.539 MB / 266.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.9397, allocations: 90.03 kB / 300.8 MB, free: 1.531 MB / 266.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.9401, allocations: 484.5 kB / 301.3 MB, free: 1.199 MB / 266.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.9403, allocations: 185.4 kB / 301.5 MB, free: 1.117 MB / 266.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.9404, allocations: 46 kB / 301.5 MB, free: 1.109 MB / 266.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.9405, allocations: 97.16 kB / 301.6 MB, free: 1.109 MB / 266.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.9405, allocations: 38.12 kB / 301.6 MB, free: 1.07 MB / 266.8 MB Notification: Performance of pre-optimization done (n=43): time 1.363e-06/0.9405, allocations: 0 / 301.6 MB, free: 1.07 MB / 266.8 MB Notification: Performance of matching and sorting (n=47): time 0.001309/0.9418, allocations: 0.8358 MB / 302.5 MB, free: 0.8516 MB / 266.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.9418, allocations: 58 kB / 302.5 MB, free: 0.7852 MB / 266.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.9419, allocations: 133.2 kB / 302.7 MB, free: 0.6758 MB / 266.8 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.9419, allocations: 40.52 kB / 302.7 MB, free: 0.6406 MB / 266.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.9419, allocations: 104.6 kB / 302.8 MB, free: 0.543 MB / 266.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.688e-05/0.942, allocations: 160.5 kB / 303 MB, free: 448 kB / 266.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.9421, allocations: 62.06 kB / 303 MB, free: 432 kB / 266.8 MB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.9421, allocations: 336.4 kB / 303.4 MB, free: 112 kB / 266.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.9422, allocations: 40.83 kB / 303.4 MB, free: 108 kB / 266.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.9422, allocations: 102.7 kB / 303.5 MB, free: 48 kB / 266.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.9424, allocations: 190.1 kB / 303.7 MB, free: 15.97 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.9424, allocations: 2.281 kB / 303.7 MB, free: 15.97 MB / 282.8 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004165/0.9428, allocations: 290.8 kB / 304 MB, free: 15.91 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.9429, allocations: 6.5 kB / 304 MB, free: 15.91 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.9429, allocations: 7.609 kB / 304 MB, free: 15.91 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.9432, allocations: 124.4 kB / 304.1 MB, free: 15.89 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.9433, allocations: 32.62 kB / 304.1 MB, free: 15.89 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003085/0.9436, allocations: 0.6059 MB / 304.7 MB, free: 15.37 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.9436, allocations: 8.5 kB / 304.8 MB, free: 15.37 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.9436, allocations: 7.016 kB / 304.8 MB, free: 15.37 MB / 282.8 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 7.84e-05/0.9437, allocations: 135.8 kB / 304.9 MB, free: 15.24 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.9438, allocations: 13.3 kB / 304.9 MB, free: 15.24 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.9441, allocations: 332.8 kB / 305.2 MB, free: 15.17 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.9441, allocations: 9.391 kB / 305.2 MB, free: 15.17 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.9441, allocations: 0 / 305.2 MB, free: 15.17 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9441, allocations: 1.969 kB / 305.2 MB, free: 15.17 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.9442, allocations: 173.5 kB / 305.4 MB, free: 15.09 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.9442, allocations: 0 / 305.4 MB, free: 15.09 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.9444, allocations: 43.61 kB / 305.5 MB, free: 15.09 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.9444, allocations: 19.94 kB / 305.5 MB, free: 15.07 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.9445, allocations: 47.02 kB / 305.5 MB, free: 15.06 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.9445, allocations: 8.297 kB / 305.5 MB, free: 15.06 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005348/0.945, allocations: 1.173 MB / 306.7 MB, free: 13.93 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.945, allocations: 0 / 306.7 MB, free: 13.93 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.9454, allocations: 472.9 kB / 307.2 MB, free: 13.71 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.9454, allocations: 7.438 kB / 307.2 MB, free: 13.7 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.9454, allocations: 7.562 kB / 307.2 MB, free: 13.7 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.9455, allocations: 21.34 kB / 307.2 MB, free: 13.7 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.9455, allocations: 7.672 kB / 307.2 MB, free: 13.7 MB / 282.8 MB Notification: Performance of sorting global known variables: time 1.978e-05/0.9455, allocations: 28.67 kB / 307.2 MB, free: 13.69 MB / 282.8 MB Notification: Performance of sort global known variables: time 4e-08/0.9455, allocations: 0 / 307.2 MB, free: 13.69 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0001823/0.9457, allocations: 66.12 kB / 307.3 MB, free: 13.69 MB / 282.8 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.0003011/0.946, allocations: 189.7 kB / 307.5 MB, free: 13.57 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.9463, allocations: 181.4 kB / 307.7 MB, free: 13.55 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.9463, allocations: 0 / 307.7 MB, free: 13.55 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.9466, allocations: 239.3 kB / 307.9 MB, free: 13.43 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.9469, allocations: 209.1 kB / 308.1 MB, free: 13.32 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.9497, allocations: 0.5002 MB / 308.6 MB, free: 12.92 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.459e-05/0.9497, allocations: 85.08 kB / 308.7 MB, free: 12.82 MB / 282.8 MB Notification: Performance of simCode: alias equations: time 9.867e-05/0.9498, allocations: 45.75 kB / 308.7 MB, free: 12.79 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.9499, allocations: 114.9 kB / 308.8 MB, free: 12.69 MB / 282.8 MB Notification: Performance of SimCode: time 6.92e-07/0.9499, allocations: 4.016 kB / 308.8 MB, free: 12.69 MB / 282.8 MB Notification: Performance of Templates: time 0.006894/0.9568, allocations: 6.304 MB / 315.1 MB, free: 7.34 MB / 282.8 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.248236222192645]