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.004767/0.004767, allocations: 99.06 kB / 15.73 MB, free: 6.492 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.001298/0.001298, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1057/0.1057, allocations: 2.765 MB / 293.3 MB, free: 3.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 405.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.244, allocations: 50.22 MB / 455.7 MB, free: 21.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01418/0.2582, allocations: 19.14 MB / 474.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004446/0.2627, allocations: 6.075 MB / 480.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.263, allocations: 1.5 kB / 480.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.2636, allocations: 258.7 kB / 481.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.2667, allocations: 1.203 MB / 482.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.267, allocations: 91.83 kB / 482.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.2673, allocations: 302.8 kB / 482.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.2674, allocations: 27.5 kB / 482.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.237e-05/0.2675, allocations: 91.17 kB / 482.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.2676, allocations: 114.7 kB / 482.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.2676, allocations: 7.562 kB / 482.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3268/0.5944, allocations: 38.45 MB / 0.5092 GB, free: 4.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.317e-05/0.5945, allocations: 35.72 kB / 0.5092 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003061/0.5948, allocations: 127.4 kB / 0.5093 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.5973, allocations: 0.51 MB / 0.5098 GB, free: 3.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5973, allocations: 0 / 0.5098 GB, free: 3.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.5973, allocations: 3.938 kB / 0.5098 GB, free: 3.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.5973, allocations: 3.938 kB / 0.5098 GB, free: 3.859 MB / 382.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.0007129/0.598, allocations: 0.5687 MB / 0.5104 GB, free: 3.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5981, allocations: 8.031 kB / 0.5104 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.71e-05/0.5982, allocations: 70.72 kB / 0.5105 GB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007574/0.5989, allocations: 208.5 kB / 0.5107 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.5991, allocations: 192 kB / 0.5109 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.5991, allocations: 20.69 kB / 0.5109 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.5992, allocations: 24 kB / 0.5109 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.5997, allocations: 337.6 kB / 0.5112 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5997, allocations: 0 / 0.5112 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.5997, allocations: 12 kB / 0.5112 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.5997, allocations: 8 kB / 0.5112 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.6001, allocations: 271.8 kB / 0.5115 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.6021, allocations: 2.111 MB / 0.5136 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.6023, allocations: 137.1 kB / 0.5137 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.6025, allocations: 109.7 kB / 0.5138 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007096/0.6032, allocations: 0.6964 MB / 0.5145 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.6032, allocations: 34.56 kB / 0.5145 GB, free: 14.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.432e-06/0.6032, allocations: 0 / 0.5145 GB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003884/0.6036, allocations: 189.4 kB / 0.5147 GB, free: 14.33 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.6037, allocations: 77.11 kB / 0.5148 GB, free: 14.24 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.6038, allocations: 105.8 kB / 0.5149 GB, free: 14.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.6038, allocations: 29.77 kB / 0.5149 GB, free: 14.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.6039, allocations: 164.5 kB / 0.515 GB, free: 13.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.084e-05/0.604, allocations: 107 kB / 0.5152 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.6041, allocations: 33.7 kB / 0.5152 GB, free: 13.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6043, allocations: 326.8 kB / 0.5155 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.6043, allocations: 39.98 kB / 0.5155 GB, free: 13.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007408/0.6051, allocations: 88.86 kB / 0.5156 GB, free: 13.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.6053, allocations: 150.4 kB / 0.5158 GB, free: 13.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6053, allocations: 0 / 0.5158 GB, free: 13.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002457/0.6055, allocations: 161.4 kB / 0.5159 GB, free: 12.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6055, allocations: 8 kB / 0.5159 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6056, allocations: 0 / 0.5159 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.6056, allocations: 4 kB / 0.5159 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.6057, allocations: 11.98 kB / 0.5159 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6057, allocations: 0 / 0.5159 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.6057, allocations: 19.78 kB / 0.516 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.6058, allocations: 11.94 kB / 0.516 GB, free: 12.93 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.0001244/0.6059, allocations: 134 kB / 0.5161 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.6059, allocations: 7.953 kB / 0.5161 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.606, allocations: 12.38 kB / 0.5161 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.606, allocations: 4 kB / 0.5161 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.606, allocations: 3.984 kB / 0.5161 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.606, allocations: 3.938 kB / 0.5161 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.6064, allocations: 281.4 kB / 0.5164 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6064, allocations: 0 / 0.5164 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.6064, allocations: 4 kB / 0.5164 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6064, allocations: 0 / 0.5164 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.6064, allocations: 0 / 0.5164 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6064, allocations: 8 kB / 0.5164 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6065, allocations: 0 / 0.5164 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.6078, allocations: 315.1 kB / 0.5167 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.6079, allocations: 96.89 kB / 0.5168 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.6079, allocations: 7.984 kB / 0.5168 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.189e-05/0.608, allocations: 0 / 0.5168 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.6081, allocations: 11.94 kB / 0.5168 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.6081, allocations: 0 / 0.5168 GB, free: 11.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.6081, allocations: 79.28 kB / 0.5169 GB, free: 11.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6081, allocations: 0 / 0.5169 GB, free: 11.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.6086, allocations: 83.78 kB / 0.517 GB, free: 11.8 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.0008666/0.6094, allocations: 0.9363 MB / 0.5179 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.6098, allocations: 224 kB / 0.5181 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6098, allocations: 0 / 0.5181 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.61, allocations: 201.8 kB / 0.5183 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.6106, allocations: 83.84 kB / 0.5184 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.6117, allocations: 0.5905 MB / 0.519 GB, free: 9.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.6122, allocations: 0.7995 MB / 0.5197 GB, free: 8.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.6123, allocations: 29.19 kB / 0.5198 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.6124, allocations: 119.4 kB / 0.5199 GB, free: 8.703 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.6124, allocations: 0 / 0.5199 GB, free: 8.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.6451, allocations: 8.082 MB / 0.5278 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.693, allocations: 11.95 kB / 0.5278 GB, free: 0.6406 MB / 398.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)