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.001241/0.001241, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00134/0.00134, allocations: 193.1 kB / 16.13 MB, free: 6.707 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.257/1.257, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1303/0.1303, allocations: 2.764 MB / 292.7 MB, free: 3.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.89 kB / 353.8 MB, free: 4.949 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07684/0.07805, allocations: 50.25 MB / 404.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.1792/0.2573, allocations: 50.42 MB / 454.5 MB, free: 21.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.2725, allocations: 28.97 MB / 483.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005144/0.273, allocations: 3.094 kB / 483.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.2744, allocations: 0.5696 MB / 484 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005087/0.2795, allocations: 2.057 MB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006874/0.2864, allocations: 2.715 MB / 488.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.2874, allocations: 0.9757 MB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2876, allocations: 58.09 kB / 489.8 MB, free: 12.78 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.9229/1.211, allocations: 47.05 MB / 0.5243 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/1.211, allocations: 294.6 kB / 0.5246 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.741e-05/1.211, allocations: 20 kB / 0.5246 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3873/1.599, allocations: 25.07 MB / 0.5491 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/1.599, allocations: 91.52 kB / 0.5492 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005426/1.599, allocations: 318.4 kB / 0.5495 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006419/1.606, allocations: 1.828 MB / 0.5513 GB, free: 1.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.606, allocations: 0 / 0.5513 GB, free: 1.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/1.606, allocations: 0 / 0.5513 GB, free: 1.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.968e-05/1.606, allocations: 0 / 0.5513 GB, free: 1.926 MB / 414.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.001831/1.608, allocations: 1.1 MB / 0.5523 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.608, allocations: 12.03 kB / 0.5523 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/1.608, allocations: 123 kB / 0.5525 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/1.61, allocations: 0.4919 MB / 0.5529 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/1.61, allocations: 331.4 kB / 0.5533 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/1.61, allocations: 45.88 kB / 0.5533 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/1.61, allocations: 67.88 kB / 0.5534 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/1.612, allocations: 0.8646 MB / 0.5542 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/1.612, allocations: 4 kB / 0.5542 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/1.612, allocations: 24 kB / 0.5542 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/1.612, allocations: 35.92 kB / 0.5543 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/1.613, allocations: 0.7 MB / 0.555 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/1.617, allocations: 4.966 MB / 0.5598 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/1.618, allocations: 345 kB / 0.5601 GB, free: 8.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/1.618, allocations: 229.8 kB / 0.5604 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/1.619, allocations: 1.551 MB / 0.5619 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/1.619, allocations: 46.55 kB / 0.5619 GB, free: 6.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 1.993e-06/1.619, allocations: 0 / 0.5619 GB, free: 6.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.001832/1.621, allocations: 0.6192 MB / 0.5625 GB, free: 5.445 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/1.621, allocations: 77.11 kB / 0.5626 GB, free: 5.352 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/1.621, allocations: 171.7 kB / 0.5628 GB, free: 5.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/1.621, allocations: 29.7 kB / 0.5628 GB, free: 5.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/1.622, allocations: 283.6 kB / 0.5631 GB, free: 4.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/1.622, allocations: 236.4 kB / 0.5633 GB, free: 4.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/1.622, allocations: 93.91 kB / 0.5634 GB, free: 4.523 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/1.622, allocations: 342.8 kB / 0.5637 GB, free: 4.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/1.622, allocations: 125.2 kB / 0.5638 GB, free: 4.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/1.623, allocations: 285.5 kB / 0.5641 GB, free: 3.711 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/1.623, allocations: 478.7 kB / 0.5645 GB, free: 3.176 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/1.623, allocations: 11.94 kB / 0.5646 GB, free: 3.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008706/1.624, allocations: 476.3 kB / 0.565 GB, free: 2.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.624, allocations: 7.938 kB / 0.565 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.624, allocations: 8 kB / 0.565 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.624, allocations: 4 kB / 0.565 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/1.625, allocations: 75.89 kB / 0.5651 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.625, allocations: 7.938 kB / 0.5651 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/1.625, allocations: 83.5 kB / 0.5652 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/1.625, allocations: 20 kB / 0.5652 GB, free: 2.488 MB / 430.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.0002071/1.625, allocations: 189.8 kB / 0.5654 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/1.625, allocations: 31.56 kB / 0.5654 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/1.627, allocations: 1.177 MB / 0.5666 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001209/1.628, allocations: 0.9904 MB / 0.5675 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.628, allocations: 0 / 0.5675 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/1.628, allocations: 7.984 kB / 0.5675 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/1.631, allocations: 2.337 MB / 0.5698 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/1.631, allocations: 4 kB / 0.5698 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/1.631, allocations: 119.8 kB / 0.5699 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/1.631, allocations: 8 kB / 0.5699 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/1.631, allocations: 15.94 kB / 0.57 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.631, allocations: 0 / 0.57 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.631, allocations: 4 kB / 0.57 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/1.633, allocations: 0.8908 MB / 0.5708 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/1.633, allocations: 144.1 kB / 0.571 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/1.633, allocations: 12 kB / 0.571 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/1.633, allocations: 95.48 kB / 0.5711 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.842e-05/1.633, allocations: 47.92 kB / 0.5711 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/1.633, allocations: 24 kB / 0.5711 GB, free: 12.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.203e-05/1.633, allocations: 120.1 kB / 0.5713 GB, free: 12.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.633, allocations: 0 / 0.5713 GB, free: 12.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007289/1.634, allocations: 223.4 kB / 0.5715 GB, free: 11.95 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.001824/1.636, allocations: 1.644 MB / 0.5731 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/1.637, allocations: 0.7523 MB / 0.5738 GB, free: 9.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.637, allocations: 0.6875 kB / 0.5738 GB, free: 9.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005559/1.638, allocations: 390.3 kB / 0.5742 GB, free: 9.121 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/1.639, allocations: 331.4 kB / 0.5745 GB, free: 8.801 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/1.644, allocations: 4.191 MB / 0.5786 GB, free: 4.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/1.645, allocations: 0.957 MB / 0.5795 GB, free: 3.418 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004749/1.645, allocations: 133.1 kB / 0.5797 GB, free: 3.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/1.646, allocations: 279.3 kB / 0.5799 GB, free: 3.016 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/1.646, allocations: 0 / 0.5799 GB, free: 3.016 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1762/1.822, allocations: 19.36 MB / 0.5988 GB, free: 140.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/1.822, allocations: 274.5 kB / 0.5991 GB, free: 139.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/4.139, allocations: 0 / 0.5991 GB, free: 139.8 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)