Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001217/0.001217, allocations: 195.3 kB / 16.26 MB, free: 6.625 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.27/1.27, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.09977/0.09977, allocations: 2.771 MB / 292.8 MB, free: 3.758 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.91 kB / 354 MB, free: 4.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08126/0.08243, allocations: 50.23 MB / 404.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.1691/0.2516, allocations: 50.32 MB / 454.6 MB, free: 21.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.2662, allocations: 28.87 MB / 483.4 MB, free: 328 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.2667, allocations: 6.875 kB / 483.4 MB, free: 324 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.268, allocations: 0.5688 MB / 484 MB, free: 20 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004314/0.2723, allocations: 2.062 MB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006502/0.2788, allocations: 2.701 MB / 488.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008526/0.2797, allocations: 0.9205 MB / 489.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.2798, allocations: 62.8 kB / 489.7 MB, free: 12.82 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 0.9085/1.188, allocations: 51.25 MB / 0.5283 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/1.189, allocations: 302.6 kB / 0.5286 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.986e-05/1.189, allocations: 40 kB / 0.5286 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3561/1.545, allocations: 27.05 MB / 0.5551 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/1.545, allocations: 107.5 kB / 0.5552 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000481/1.546, allocations: 342.4 kB / 0.5555 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005004/1.551, allocations: 1.836 MB / 0.5573 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.551, allocations: 0 / 0.5573 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/1.551, allocations: 0 / 0.5573 GB, free: 11.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/1.551, allocations: 0 / 0.5573 GB, free: 11.8 MB / 430.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.001415/1.552, allocations: 1.096 MB / 0.5583 GB, free: 10.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/1.552, allocations: 12.03 kB / 0.5584 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/1.552, allocations: 119 kB / 0.5585 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/1.554, allocations: 0.4958 MB / 0.559 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/1.555, allocations: 339.4 kB / 0.5593 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/1.555, allocations: 45.88 kB / 0.5593 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/1.555, allocations: 59.94 kB / 0.5594 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/1.556, allocations: 0.8685 MB / 0.5602 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/1.556, allocations: 3.938 kB / 0.5602 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/1.556, allocations: 28 kB / 0.5603 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/1.556, allocations: 35.97 kB / 0.5603 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/1.557, allocations: 0.7 MB / 0.561 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/1.561, allocations: 4.962 MB / 0.5658 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/1.561, allocations: 349.1 kB / 0.5662 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/1.562, allocations: 233.6 kB / 0.5664 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/1.563, allocations: 1.547 MB / 0.5679 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/1.563, allocations: 38.56 kB / 0.5679 GB, free: 15.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=74): time 1.573e-06/1.563, allocations: 0 / 0.5679 GB, free: 15.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.001511/1.565, allocations: 0.6231 MB / 0.5685 GB, free: 15.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/1.565, allocations: 81.05 kB / 0.5686 GB, free: 15.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/1.565, allocations: 175.6 kB / 0.5688 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/1.565, allocations: 29.7 kB / 0.5688 GB, free: 15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/1.565, allocations: 279.6 kB / 0.5691 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/1.565, allocations: 236.4 kB / 0.5693 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/1.565, allocations: 93.92 kB / 0.5694 GB, free: 14.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/1.565, allocations: 342.8 kB / 0.5697 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/1.566, allocations: 121.3 kB / 0.5698 GB, free: 13.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/1.566, allocations: 293.4 kB / 0.5701 GB, free: 13.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/1.567, allocations: 470.7 kB / 0.5706 GB, free: 13.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.567, allocations: 4 kB / 0.5706 GB, free: 13.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007893/1.567, allocations: 480.2 kB / 0.571 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.567, allocations: 7.938 kB / 0.571 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.567, allocations: 8 kB / 0.571 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/1.568, allocations: 4 kB / 0.571 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/1.568, allocations: 75.84 kB / 0.5711 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/1.568, allocations: 4 kB / 0.5711 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/1.568, allocations: 83.62 kB / 0.5712 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/1.568, allocations: 24 kB / 0.5712 GB, free: 12.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * 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.000187/1.568, allocations: 189.7 kB / 0.5714 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/1.568, allocations: 35.55 kB / 0.5714 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/1.57, allocations: 1.177 MB / 0.5726 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001119/1.571, allocations: 0.9905 MB / 0.5735 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.571, allocations: 0 / 0.5735 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/1.571, allocations: 7.984 kB / 0.5736 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/1.573, allocations: 2.337 MB / 0.5758 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.573, allocations: 4 kB / 0.5758 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/1.574, allocations: 123.8 kB / 0.576 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.574, allocations: 4 kB / 0.576 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/1.574, allocations: 20 kB / 0.576 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.574, allocations: 0 / 0.576 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.574, allocations: 4 kB / 0.576 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/1.575, allocations: 0.8908 MB / 0.5769 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.684e-05/1.575, allocations: 140.6 kB / 0.577 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/1.575, allocations: 12 kB / 0.577 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/1.576, allocations: 91.48 kB / 0.5771 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/1.576, allocations: 47.92 kB / 0.5771 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/1.576, allocations: 23.94 kB / 0.5772 GB, free: 6.168 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.663e-05/1.576, allocations: 120.1 kB / 0.5773 GB, free: 6.051 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.576, allocations: 0 / 0.5773 GB, free: 6.051 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005716/1.576, allocations: 227.4 kB / 0.5775 GB, free: 5.828 MB / 446.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: 6 (medium1.completeState.state.phase,$cse4.phase,medium1.baseProperties.phaseOutput,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 (78): * Single equations (assignments): 74 * 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.001553/1.578, allocations: 1.642 MB / 0.5791 GB, free: 4.156 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/1.579, allocations: 0.792 MB / 0.5799 GB, free: 3.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.579, allocations: 0 / 0.5799 GB, free: 3.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/1.58, allocations: 386.3 kB / 0.5802 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/1.581, allocations: 347.2 kB / 0.5806 GB, free: 2.629 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1296/1.711, allocations: 4.172 MB / 0.5846 GB, free: 141.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/1.711, allocations: 0.9654 MB / 0.5856 GB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004721/1.712, allocations: 128.6 kB / 0.5857 GB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/1.712, allocations: 276.7 kB / 0.586 GB, free: 140.6 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/1.712, allocations: 1.031 kB / 0.586 GB, free: 140.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.201/1.913, allocations: 19.94 MB / 0.6054 GB, free: 139.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/1.913, allocations: 266.8 kB / 0.6057 GB, free: 139.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/4.226, allocations: 0 / 0.6057 GB, free: 139.3 MB / 446.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1)