Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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.Pentane.Pentane_hs_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",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.001382/0.001382, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 196.6 kB / 16.53 MB, free: 6.391 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1263/0.1263, allocations: 2.758 MB / 293.2 MB, free: 3.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.91 kB / 354.5 MB, free: 4.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09993, allocations: 50.24 MB / 404.8 MB, free: 2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01073/0.1107, allocations: 8.102 MB / 412.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000901/0.1116, allocations: 0.938 MB / 413.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.1117, allocations: 0 / 413.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.112, allocations: 75.58 kB / 413.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.514e-05/0.1122, allocations: 27.77 kB / 413.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.1126, allocations: 115.1 kB / 414 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.1127, allocations: 55.56 kB / 414.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.138e-05/0.1128, allocations: 8 kB / 414.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.7e-05/0.1128, allocations: 19.92 kB / 414.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.1129, allocations: 15.94 kB / 414.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1129, allocations: 3.938 kB / 414.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2557/0.3686, allocations: 13.53 MB / 427.6 MB, free: 43.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.3686, allocations: 3.859 kB / 427.6 MB, free: 43.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.095e-05/0.3687, allocations: 30.42 kB / 427.7 MB, free: 43.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.3691, allocations: 89.42 kB / 427.8 MB, free: 43.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3691, allocations: 3.781 kB / 427.8 MB, free: 43.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3691, allocations: 0 / 427.8 MB, free: 43.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3691, allocations: 0 / 427.8 MB, free: 43.78 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003195/0.3694, allocations: 358.7 kB / 428.1 MB, free: 43.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3695, allocations: 13.59 kB / 428.1 MB, free: 43.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.3695, allocations: 40.53 kB / 428.2 MB, free: 43.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.3696, allocations: 18.84 kB / 428.2 MB, free: 43.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.949e-05/0.3697, allocations: 172.8 kB / 428.4 MB, free: 43.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3697, allocations: 4.219 kB / 428.4 MB, free: 43.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.3697, allocations: 11.22 kB / 428.4 MB, free: 43.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.3698, allocations: 61.67 kB / 428.4 MB, free: 43.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3699, allocations: 0 / 428.4 MB, free: 43.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.3699, allocations: 4.547 kB / 428.4 MB, free: 43.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.3699, allocations: 6.609 kB / 428.4 MB, free: 43.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.549e-05/0.3699, allocations: 32.7 kB / 428.5 MB, free: 43.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.3702, allocations: 312.6 kB / 428.8 MB, free: 42.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.716e-05/0.3703, allocations: 50.55 kB / 428.8 MB, free: 42.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.3704, allocations: 41.73 kB / 428.9 MB, free: 42.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3704, allocations: 3.188 kB / 428.9 MB, free: 42.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.3704, allocations: 30.56 kB / 428.9 MB, free: 42.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.3704, allocations: 0 / 428.9 MB, free: 42.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002058/0.3706, allocations: 114 kB / 429 MB, free: 42.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.3707, allocations: 51.41 kB / 429.1 MB, free: 42.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.787e-05/0.3707, allocations: 101.5 kB / 429.2 MB, free: 42.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.3707, allocations: 25.7 kB / 429.2 MB, free: 42.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.742e-05/0.3707, allocations: 83.2 kB / 429.3 MB, free: 42.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3708, allocations: 48.19 kB / 429.3 MB, free: 42.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.3708, allocations: 25.55 kB / 429.3 MB, free: 42.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.3709, allocations: 321.1 kB / 429.7 MB, free: 42.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.3709, allocations: 16.06 kB / 429.7 MB, free: 42.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.3709, allocations: 17.09 kB / 429.7 MB, free: 42.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.371, allocations: 70.42 kB / 429.8 MB, free: 42.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.371, allocations: 0 / 429.8 MB, free: 42.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001068/0.3711, allocations: 82.95 kB / 429.8 MB, free: 42.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3711, allocations: 5.812 kB / 429.8 MB, free: 42.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3712, allocations: 1.969 kB / 429.8 MB, free: 42.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3712, allocations: 0 / 429.8 MB, free: 42.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.3712, allocations: 6.594 kB / 429.8 MB, free: 42.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3712, allocations: 0 / 429.8 MB, free: 42.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.3713, allocations: 3.219 kB / 429.9 MB, free: 42.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3713, allocations: 15.2 kB / 429.9 MB, free: 42.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.119e-05/0.3713, allocations: 113 kB / 430 MB, free: 41.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.3714, allocations: 7.156 kB / 430 MB, free: 41.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.3714, allocations: 7.938 kB / 430 MB, free: 41.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3714, allocations: 0 / 430 MB, free: 41.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.3714, allocations: 0 / 430 MB, free: 41.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3714, allocations: 7.156 kB / 430 MB, free: 41.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.3716, allocations: 187.2 kB / 430.2 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3716, allocations: 8.953 kB / 430.2 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.3716, allocations: 0 / 430.2 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3716, allocations: 7.188 kB / 430.2 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3716, allocations: 0 / 430.2 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3716, allocations: 0 / 430.2 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3716, allocations: 0 / 430.2 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.3718, allocations: 189.5 kB / 430.4 MB, free: 41.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.3718, allocations: 85.14 kB / 430.5 MB, free: 41.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.3718, allocations: 5.656 kB / 430.5 MB, free: 41.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/0.3719, allocations: 0 / 430.5 MB, free: 41.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.3719, allocations: 7.984 kB / 430.5 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3719, allocations: 3.219 kB / 430.5 MB, free: 41.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.211e-05/0.3719, allocations: 79.22 kB / 430.6 MB, free: 41.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3719, allocations: 0 / 430.6 MB, free: 41.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.3722, allocations: 16.09 kB / 430.6 MB, free: 41.39 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004113/0.3726, allocations: 0.7465 MB / 431.3 MB, free: 40.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.3728, allocations: 114.9 kB / 431.4 MB, free: 40.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3728, allocations: 4 kB / 431.4 MB, free: 40.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.3729, allocations: 91.64 kB / 431.5 MB, free: 40.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.3739, allocations: 39.92 kB / 431.6 MB, free: 40.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/0.3745, allocations: 323.3 kB / 431.9 MB, free: 40.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3746, allocations: 0.718 MB / 432.6 MB, free: 39.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.624e-05/0.3747, allocations: 9.891 kB / 432.6 MB, free: 39.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.3748, allocations: 40 kB / 432.6 MB, free: 39.73 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.3748, allocations: 0 / 432.6 MB, free: 39.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.3946, allocations: 3.948 MB / 436.6 MB, free: 39.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.953, allocations: 11.8 kB / 436.6 MB, free: 39.09 MB / 350.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1)