Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.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.001402/0.001402, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001797/0.001797, allocations: 208.7 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.472/1.472, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01355/0.01355, allocations: 2.808 MB / 315.2 MB, free: 328 kB / 238.1 MB " [Timeout remaining time 180] 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.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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 71.89 kB / 438.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09656/0.09862, allocations: 54.17 MB / 492.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02365/0.1223, allocations: 19.4 MB / 0.5003 GB, free: 3.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2111/0.3333, allocations: 6.071 MB / 0.5062 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.3336, allocations: 1.406 kB / 0.5062 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007678/0.3344, allocations: 261.9 kB / 0.5065 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.338, allocations: 1.207 MB / 0.5076 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.3383, allocations: 81.53 kB / 0.5077 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.3387, allocations: 309.6 kB / 0.508 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.906e-05/0.3388, allocations: 13.31 kB / 0.508 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.3389, allocations: 98.84 kB / 0.5081 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.3391, allocations: 114.1 kB / 0.5082 GB, free: 4.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.3391, allocations: 8.031 kB / 0.5082 GB, free: 4.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5936/0.9328, allocations: 39.17 MB / 0.5465 GB, free: 32 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.9329, allocations: 29 kB / 0.5465 GB, free: 20 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004325/0.9333, allocations: 132.5 kB / 0.5466 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.936, allocations: 0.5075 MB / 0.5471 GB, free: 15.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.936, allocations: 0 / 0.5471 GB, free: 15.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.936, allocations: 4 kB / 0.5471 GB, free: 15.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.936, allocations: 0 / 0.5471 GB, free: 15.6 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008157/0.9368, allocations: 0.4997 MB / 0.5476 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.9369, allocations: 12.03 kB / 0.5476 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.645e-05/0.937, allocations: 73.27 kB / 0.5477 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008747/0.9379, allocations: 205 kB / 0.5479 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.938, allocations: 128.7 kB / 0.548 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.938, allocations: 15.94 kB / 0.548 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.9381, allocations: 29.81 kB / 0.5481 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.9386, allocations: 351.7 kB / 0.5484 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.9386, allocations: 0 / 0.5484 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.9386, allocations: 7.188 kB / 0.5484 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.9386, allocations: 15.42 kB / 0.5484 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.9389, allocations: 278.8 kB / 0.5487 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.9409, allocations: 2.088 MB / 0.5507 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.9411, allocations: 97.44 kB / 0.5508 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.9412, allocations: 78.81 kB / 0.5509 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006674/0.9419, allocations: 0.5192 MB / 0.5514 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.9419, allocations: 30.56 kB / 0.5514 GB, free: 11.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.9419, allocations: 4 kB / 0.5514 GB, free: 11.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003979/0.9423, allocations: 180.8 kB / 0.5516 GB, free: 11.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.9424, allocations: 81.11 kB / 0.5517 GB, free: 11.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.9425, allocations: 108.6 kB / 0.5518 GB, free: 11.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.9425, allocations: 29.69 kB / 0.5518 GB, free: 11.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/0.9426, allocations: 155.6 kB / 0.552 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.102e-05/0.9427, allocations: 113.2 kB / 0.5521 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.9427, allocations: 40.52 kB / 0.5521 GB, free: 10.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.9429, allocations: 334 kB / 0.5524 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.943, allocations: 31.19 kB / 0.5525 GB, free: 10.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.642e-05/0.9431, allocations: 82.19 kB / 0.5526 GB, free: 10.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.9432, allocations: 147.1 kB / 0.5527 GB, free: 10.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9432, allocations: 0 / 0.5527 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002639/0.9435, allocations: 150.2 kB / 0.5528 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.9435, allocations: 8 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.9435, allocations: 0 / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.9436, allocations: 0 / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.9436, allocations: 12 kB / 0.5529 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.9437, allocations: 8.125 kB / 0.5529 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.106e-05/0.9437, allocations: 19.78 kB / 0.5529 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.9438, allocations: 4 kB / 0.5529 GB, free: 10.03 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000188/0.9439, allocations: 135 kB / 0.553 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.944, allocations: 10.58 kB / 0.553 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.9441, allocations: 7.469 kB / 0.553 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.9441, allocations: 0 / 0.553 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9441, allocations: 4 kB / 0.553 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9441, allocations: 0 / 0.553 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.9446, allocations: 263.2 kB / 0.5533 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9446, allocations: 0 / 0.5533 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.9446, allocations: 4 kB / 0.5533 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.9446, allocations: 0 / 0.5533 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.9446, allocations: 0 / 0.5533 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.9446, allocations: 8 kB / 0.5533 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9446, allocations: 3.938 kB / 0.5533 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.9476, allocations: 321.2 kB / 0.5536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.9477, allocations: 15.84 kB / 0.5536 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.9477, allocations: 0 / 0.5536 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.9478, allocations: 3.438 kB / 0.5536 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.9478, allocations: 4 kB / 0.5536 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.9478, allocations: 7.938 kB / 0.5536 GB, free: 9.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.586e-05/0.9479, allocations: 83.2 kB / 0.5537 GB, free: 9.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.9479, allocations: 0 / 0.5537 GB, free: 9.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004744/0.9484, allocations: 87.41 kB / 0.5538 GB, free: 9.129 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: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001539/0.9499, allocations: 0.9362 MB / 0.5547 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.9503, allocations: 205.1 kB / 0.5549 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.9503, allocations: 8.375 kB / 0.5549 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.9505, allocations: 177.4 kB / 0.5551 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007454/0.9512, allocations: 91.67 kB / 0.5552 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.9523, allocations: 0.5943 MB / 0.5558 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.9529, allocations: 0.7956 MB / 0.5565 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.953, allocations: 29.11 kB / 0.5566 GB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.9532, allocations: 115.4 kB / 0.5567 GB, free: 6.121 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.9532, allocations: 0 / 0.5567 GB, free: 6.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.9927, allocations: 8.785 MB / 0.5652 GB, free: 13.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.56, allocations: 7.938 kB / 0.5653 GB, free: 13.41 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.75896360189654] Failed to read output from testmodel.py, exit status != 0: 12.89927494712174 12.92763684 11.986529569 Calling exit ...