Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 106.8 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 195.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01169/0.01169, allocations: 2.786 MB / 293.5 MB, free: 11.99 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 64.09 kB / 354.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.238, allocations: 50.23 MB / 404.8 MB, free: 33.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.03483/0.2728, allocations: 50.33 MB / 455.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02322/0.2961, allocations: 28.88 MB / 484 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006149/0.2968, allocations: 8 kB / 484 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.2984, allocations: 0.5674 MB / 484.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005935/0.3044, allocations: 2.053 MB / 486.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008134/0.3125, allocations: 2.709 MB / 489.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.3138, allocations: 0.9209 MB / 490.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3139, allocations: 57.75 kB / 490.3 MB, free: 11.28 MB / 366.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 1.159/1.473, allocations: 51.23 MB / 0.5288 GB, free: 26.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/1.474, allocations: 311.3 kB / 0.5291 GB, free: 26.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/1.474, allocations: 39.03 kB / 0.5292 GB, free: 26.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3548/1.829, allocations: 27.04 MB / 0.5556 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000227/1.829, allocations: 104.3 kB / 0.5557 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004974/1.829, allocations: 340 kB / 0.556 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002306/1.832, allocations: 1.372 MB / 0.5573 GB, free: 7.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.832, allocations: 0 / 0.5573 GB, free: 7.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/1.832, allocations: 4 kB / 0.5573 GB, free: 7.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.235e-05/1.832, allocations: 0 / 0.5573 GB, free: 7.969 MB / 382.1 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.002044/1.834, allocations: 1.106 MB / 0.5584 GB, free: 6.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/1.834, allocations: 8.031 kB / 0.5584 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/1.836, allocations: 0.4976 MB / 0.5589 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/1.836, allocations: 334.4 kB / 0.5592 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/1.836, allocations: 45.12 kB / 0.5593 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/1.836, allocations: 51.38 kB / 0.5593 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/1.838, allocations: 0.882 MB / 0.5602 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/1.838, allocations: 7.188 kB / 0.5602 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/1.838, allocations: 25.62 kB / 0.5602 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/1.838, allocations: 30.55 kB / 0.5603 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/1.839, allocations: 0.7024 MB / 0.5609 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/1.842, allocations: 5.019 MB / 0.5658 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/1.842, allocations: 329.9 kB / 0.5662 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/1.843, allocations: 219.7 kB / 0.5664 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/1.844, allocations: 1.519 MB / 0.5678 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/1.844, allocations: 38.56 kB / 0.5679 GB, free: 14.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.144e-06/1.844, allocations: 0 / 0.5679 GB, free: 14.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=71): time 0.001808/1.846, allocations: 0.6014 MB / 0.5685 GB, free: 13.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/1.846, allocations: 77.11 kB / 0.5685 GB, free: 13.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/1.846, allocations: 180.8 kB / 0.5687 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/1.846, allocations: 29.14 kB / 0.5687 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/1.846, allocations: 287.8 kB / 0.569 GB, free: 13.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/1.846, allocations: 235.4 kB / 0.5692 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/1.847, allocations: 98.84 kB / 0.5693 GB, free: 13.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/1.847, allocations: 343.5 kB / 0.5697 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/1.847, allocations: 115 kB / 0.5698 GB, free: 12.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/1.847, allocations: 300.1 kB / 0.5701 GB, free: 12.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/1.848, allocations: 495.1 kB / 0.5705 GB, free: 11.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/1.848, allocations: 4 kB / 0.5705 GB, free: 11.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007857/1.849, allocations: 478.7 kB / 0.571 GB, free: 11.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/1.849, allocations: 8 kB / 0.571 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.849, allocations: 11.94 kB / 0.571 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/1.849, allocations: 4 kB / 0.571 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/1.849, allocations: 73.25 kB / 0.5711 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/1.849, allocations: 11 kB / 0.5711 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/1.849, allocations: 79.44 kB / 0.5712 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/1.849, allocations: 19.06 kB / 0.5712 GB, free: 11.47 MB / 398.1 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.0002588/1.85, allocations: 200.2 kB / 0.5714 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/1.85, allocations: 27.62 kB / 0.5714 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/1.851, allocations: 1.174 MB / 0.5726 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001145/1.852, allocations: 0.9716 MB / 0.5735 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.852, allocations: 0 / 0.5735 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/1.852, allocations: 3.984 kB / 0.5735 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/1.855, allocations: 2.284 MB / 0.5757 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.855, allocations: 3.938 kB / 0.5757 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/1.856, allocations: 120.7 kB / 0.5759 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.221e-05/1.856, allocations: 4 kB / 0.5759 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/1.856, allocations: 11.75 kB / 0.5759 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.856, allocations: 7.938 kB / 0.5759 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.856, allocations: 0 / 0.5759 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/1.857, allocations: 0.871 MB / 0.5767 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/1.857, allocations: 136.2 kB / 0.5769 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/1.857, allocations: 11.69 kB / 0.5769 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/1.857, allocations: 94.8 kB / 0.577 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/1.857, allocations: 39.81 kB / 0.577 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/1.857, allocations: 15.81 kB / 0.577 GB, free: 7.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001159/1.858, allocations: 132.1 kB / 0.5771 GB, free: 7.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.858, allocations: 3.938 kB / 0.5771 GB, free: 7.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008257/1.858, allocations: 222.6 kB / 0.5774 GB, free: 6.852 MB / 398.1 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.0005824/1.859, allocations: 316.3 kB / 0.5777 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/1.86, allocations: 0.7831 MB / 0.5784 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.86, allocations: 0 / 0.5784 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004651/1.861, allocations: 364.5 kB / 0.5788 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/1.863, allocations: 340.2 kB / 0.5791 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/1.865, allocations: 1.691 MB / 0.5807 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/1.866, allocations: 0.9635 MB / 0.5817 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/1.866, allocations: 51.38 kB / 0.5817 GB, free: 2.895 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/1.866, allocations: 0 / 0.5817 GB, free: 2.895 MB / 398.1 MB Notification: Performance of Templates: time 0.01402/1.88, allocations: 8.435 MB / 0.59 GB, free: 10.67 MB / 414.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1)