Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",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.00112/0.00112, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.00116/0.00116, allocations: 193.5 kB / 16.25 MB, free: 6.629 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.173/1.173, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1089/0.1089, allocations: 2.762 MB / 292.8 MB, free: 3.797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 59.91 kB / 354 MB, free: 4.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07083/0.0719, allocations: 50.25 MB / 404.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.1457/0.2176, allocations: 19.02 MB / 423.3 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.2208, allocations: 6.039 MB / 429.3 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.806e-05/0.2209, allocations: 0 / 429.3 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.2213, allocations: 236.2 kB / 429.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.223, allocations: 1.107 MB / 430.6 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.2232, allocations: 88.45 kB / 430.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.2234, allocations: 302 kB / 431 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.2234, allocations: 29.44 kB / 431 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.841e-05/0.2235, allocations: 95.67 kB / 431.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/0.2236, allocations: 116.4 kB / 431.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.2236, allocations: 9.5 kB / 431.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6819/0.9055, allocations: 38.1 MB / 469.4 MB, free: 18.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.9056, allocations: 25.19 kB / 469.4 MB, free: 18.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.9058, allocations: 136.5 kB / 469.5 MB, free: 18.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.9075, allocations: 0.5039 MB / 470 MB, free: 18.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.9076, allocations: 1.312 kB / 470 MB, free: 18.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.9076, allocations: 0 / 470 MB, free: 18.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.9076, allocations: 4 kB / 470 MB, free: 18.3 MB / 350.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.0005028/0.9081, allocations: 0.5568 MB / 470.6 MB, free: 17.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.9081, allocations: 9.688 kB / 470.6 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.343e-05/0.9082, allocations: 71.81 kB / 470.7 MB, free: 17.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006692/0.9089, allocations: 202 kB / 470.9 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.172e-05/0.909, allocations: 194.4 kB / 471 MB, free: 17.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.909, allocations: 20.88 kB / 471.1 MB, free: 17.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.909, allocations: 29.81 kB / 471.1 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/0.9095, allocations: 336 kB / 471.4 MB, free: 17.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.9095, allocations: 0 / 471.4 MB, free: 17.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.9095, allocations: 9.562 kB / 471.4 MB, free: 17.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.9095, allocations: 13.5 kB / 471.4 MB, free: 17.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.9098, allocations: 263.3 kB / 471.7 MB, free: 17.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.9109, allocations: 2.123 MB / 473.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.911, allocations: 134.8 kB / 474 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.796e-05/0.9111, allocations: 117.2 kB / 474.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004492/0.9116, allocations: 0.6838 MB / 474.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.207e-05/0.9116, allocations: 39.69 kB / 474.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.213e-06/0.9116, allocations: 0 / 474.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0002965/0.9119, allocations: 186.2 kB / 475 MB, free: 14.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.9119, allocations: 78.2 kB / 475.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.917e-05/0.912, allocations: 103.6 kB / 475.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.912, allocations: 25.7 kB / 475.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.912, allocations: 162.4 kB / 475.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.9121, allocations: 102.8 kB / 475.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.9121, allocations: 35.59 kB / 475.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.722e-05/0.9122, allocations: 329.8 kB / 475.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/0.9122, allocations: 32.11 kB / 475.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.452e-05/0.9123, allocations: 85.73 kB / 475.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.9124, allocations: 147.1 kB / 476.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9124, allocations: 0 / 476.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001804/0.9126, allocations: 163.2 kB / 476.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.9126, allocations: 5.219 kB / 476.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.9126, allocations: 0.9062 kB / 476.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.9126, allocations: 2.344 kB / 476.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.9127, allocations: 13.02 kB / 476.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.9127, allocations: 5.156 kB / 476.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.9128, allocations: 24.42 kB / 476.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.9129, allocations: 8.281 kB / 476.3 MB, free: 13.18 MB / 350.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 7.145e-05/0.9129, allocations: 134.7 kB / 476.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.913, allocations: 16.09 kB / 476.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003996/0.9134, allocations: 424.3 kB / 476.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002987/0.9137, allocations: 330.9 kB / 477.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.9137, allocations: 8.938 kB / 477.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.9137, allocations: 7.312 kB / 477.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009074/0.9146, allocations: 1.034 MB / 478.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.9146, allocations: 1.094 kB / 478.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.9148, allocations: 54.12 kB / 478.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.9148, allocations: 2.312 kB / 478.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.9148, allocations: 10.25 kB / 478.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.9148, allocations: 1.031 kB / 478.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.915, allocations: 1.188 kB / 478.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.9154, allocations: 0.5112 MB / 478.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.9154, allocations: 100.9 kB / 478.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.9155, allocations: 10.66 kB / 478.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.9157, allocations: 51.08 kB / 478.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.9157, allocations: 15.44 kB / 479 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.9157, allocations: 10.56 kB / 479 MB, free: 11.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.814e-05/0.9157, allocations: 78.59 kB / 479 MB, free: 11.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9157, allocations: 0 / 479 MB, free: 11.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.9161, allocations: 105.9 kB / 479.2 MB, free: 11.37 MB / 350.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: 4 (state1.phase,$cse2.phase,state2.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.0006695/0.9168, allocations: 1.145 MB / 480.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.9172, allocations: 321.3 kB / 480.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9172, allocations: 384 / 480.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.9173, allocations: 172.2 kB / 480.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.9182, allocations: 158.1 kB / 480.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.9192, allocations: 0.8677 MB / 481.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.9194, allocations: 0.8026 MB / 482.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.9195, allocations: 30.86 kB / 482.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.9196, allocations: 125.2 kB / 482.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.9196, allocations: 1.625 kB / 482.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4203/1.34, allocations: 9.096 MB / 491.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/1.34, allocations: 248.7 kB / 492.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.026/6.366, allocations: 0 / 492.1 MB, free: 7.543 MB / 350.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1)