Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.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.0009042/0.0009042, allocations: 92.5 kB / 19.94 MB, free: 4.605 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.0009567/0.0009567, allocations: 165.8 kB / 23.21 MB, free: 1.336 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.9608/0.9608, allocations: 177.1 MB / 203.5 MB, free: 5.691 MB / 186.7 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.009001/0.009001, allocations: 2.077 MB / 262 MB, free: 11.17 MB / 250.7 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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 385.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.175e-05, allocations: 4.953 kB / 385.3 MB, free: 12 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit): time 0.2245/0.2246, allocations: 45.47 MB / 430.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.239, allocations: 25.15 MB / 456 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005384/0.2395, allocations: 2.562 kB / 456 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.2408, allocations: 0.5143 MB / 456.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005458/0.2462, allocations: 2.263 MB / 458.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007729/0.254, allocations: 3.096 MB / 461.8 MB, free: 7.602 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001723/0.2557, allocations: 0.9715 MB / 462.8 MB, free: 7 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.2559, allocations: 32 kB / 462.8 MB, free: 6.98 MB / 346.7 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 1.022/1.278, allocations: 79.83 MB / 0.5299 GB, free: 8.922 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007019/1.278, allocations: 239.4 kB / 0.5302 GB, free: 8.688 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.889e-05/1.278, allocations: 40 kB / 0.5302 GB, free: 8.648 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1997/1.478, allocations: 41.24 MB / 0.5705 GB, free: 15.14 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/1.478, allocations: 115.5 kB / 0.5706 GB, free: 15.03 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003753/1.479, allocations: 227.5 kB / 0.5708 GB, free: 14.8 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004407/1.483, allocations: 1.897 MB / 0.5727 GB, free: 12.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.483, allocations: 3.938 kB / 0.5727 GB, free: 12.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/1.483, allocations: 0 / 0.5727 GB, free: 12.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/1.483, allocations: 8 kB / 0.5727 GB, free: 12.89 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001236/1.484, allocations: 1.037 MB / 0.5737 GB, free: 11.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.484, allocations: 8.031 kB / 0.5737 GB, free: 11.81 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/1.486, allocations: 0.4961 MB / 0.5742 GB, free: 11.32 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/1.486, allocations: 284.9 kB / 0.5744 GB, free: 11.01 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/1.486, allocations: 49.69 kB / 0.5745 GB, free: 10.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/1.486, allocations: 52.38 kB / 0.5745 GB, free: 10.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/1.487, allocations: 0.9739 MB / 0.5755 GB, free: 9.863 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.487, allocations: 3.938 kB / 0.5755 GB, free: 9.859 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/1.487, allocations: 31.94 kB / 0.5755 GB, free: 9.828 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/1.487, allocations: 35.97 kB / 0.5756 GB, free: 9.793 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007782/1.488, allocations: 0.7162 MB / 0.5763 GB, free: 9.078 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/1.49, allocations: 2.676 MB / 0.5789 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/1.49, allocations: 262.9 kB / 0.5791 GB, free: 6.047 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/1.49, allocations: 154.3 kB / 0.5793 GB, free: 5.891 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/1.491, allocations: 0.8622 MB / 0.5801 GB, free: 5.008 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/1.491, allocations: 38.56 kB / 0.5802 GB, free: 4.961 MB / 474.7 MB Notification: Performance of pre-optimization done (n=71): time 1.323e-06/1.491, allocations: 0 / 0.5802 GB, free: 4.961 MB / 474.7 MB Notification: Performance of matching and sorting (n=71): time 0.0009117/1.492, allocations: 0.6013 MB / 0.5807 GB, free: 4.355 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/1.492, allocations: 84.98 kB / 0.5808 GB, free: 4.254 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/1.492, allocations: 198.5 kB / 0.581 GB, free: 4.051 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/1.492, allocations: 29.7 kB / 0.581 GB, free: 4.016 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/1.492, allocations: 292.4 kB / 0.5813 GB, free: 3.723 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.151e-05/1.492, allocations: 233.9 kB / 0.5815 GB, free: 3.492 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/1.492, allocations: 106 kB / 0.5816 GB, free: 3.379 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.004e-05/1.493, allocations: 342.8 kB / 0.582 GB, free: 3.035 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/1.493, allocations: 117.3 kB / 0.5821 GB, free: 2.922 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/1.493, allocations: 303.9 kB / 0.5824 GB, free: 2.551 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/1.493, allocations: 480.8 kB / 0.5828 GB, free: 2.004 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.493, allocations: 4 kB / 0.5828 GB, free: 2 MB / 474.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004581/1.494, allocations: 480.2 kB / 0.5833 GB, free: 1.523 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.494, allocations: 8 kB / 0.5833 GB, free: 1.516 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.494, allocations: 8.656 kB / 0.5833 GB, free: 1.508 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/1.494, allocations: 8 kB / 0.5833 GB, free: 1.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/1.494, allocations: 75.91 kB / 0.5834 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.494, allocations: 15.92 kB / 0.5834 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/1.494, allocations: 63.39 kB / 0.5835 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/1.494, allocations: 20 kB / 0.5835 GB, free: 1.328 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001473/1.494, allocations: 193.7 kB / 0.5837 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/1.494, allocations: 28 kB / 0.5837 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1491/1.643, allocations: 1.212 MB / 0.5849 GB, free: 180.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009875/1.644, allocations: 1.004 MB / 0.5859 GB, free: 180.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.644, allocations: 0 / 0.5859 GB, free: 180.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/1.644, allocations: 9.453 kB / 0.5859 GB, free: 180.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/1.646, allocations: 2.1 MB / 0.5879 GB, free: 179.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.646, allocations: 0.6094 kB / 0.5879 GB, free: 179.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/1.647, allocations: 116.9 kB / 0.588 GB, free: 179.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/1.647, allocations: 6.875 kB / 0.588 GB, free: 179.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/1.647, allocations: 15.38 kB / 0.5881 GB, free: 179.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/1.647, allocations: 4.219 kB / 0.5881 GB, free: 179.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.647, allocations: 1.469 kB / 0.5881 GB, free: 179.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/1.647, allocations: 0.8861 MB / 0.5889 GB, free: 178.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/1.647, allocations: 69.55 kB / 0.589 GB, free: 178.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/1.647, allocations: 16.09 kB / 0.589 GB, free: 178.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/1.647, allocations: 14.39 kB / 0.589 GB, free: 178.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/1.648, allocations: 43.88 kB / 0.5891 GB, free: 178.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/1.648, allocations: 20.64 kB / 0.5891 GB, free: 178.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.776e-05/1.648, allocations: 122.3 kB / 0.5892 GB, free: 178.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.648, allocations: 0 / 0.5892 GB, free: 178.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005585/1.648, allocations: 229.3 kB / 0.5894 GB, free: 178.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (medium1.completeState.state.phase,$cse4.phase,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005087/1.649, allocations: 316.2 kB / 0.5897 GB, free: 178.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006825/1.649, allocations: 0.7189 MB / 0.5904 GB, free: 178.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.649, allocations: 3.031 kB / 0.5904 GB, free: 178.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002729/1.65, allocations: 312.5 kB / 0.5907 GB, free: 178.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009966/1.651, allocations: 334.5 kB / 0.591 GB, free: 178 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/1.652, allocations: 1.307 MB / 0.5923 GB, free: 177.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/1.652, allocations: 368.6 kB / 0.5927 GB, free: 177.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/1.653, allocations: 49.52 kB / 0.5927 GB, free: 177.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.653e-06/1.653, allocations: 0 / 0.5927 GB, free: 177.2 MB / 474.7 MB Notification: Performance of Templates: time 0.01313/1.666, allocations: 8.975 MB / 0.6015 GB, free: 174.8 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.119374055415392]