Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.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.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical",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.005011/0.005011, allocations: 99.39 kB / 15.73 MB, free: 6.496 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.001136/0.001137, allocations: 199 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1166/0.1166, allocations: 2.76 MB / 293.3 MB, free: 3.527 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 405.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2363, allocations: 50.23 MB / 455.7 MB, free: 20.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.01467/0.2511, allocations: 19.13 MB / 474.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.2564, allocations: 6.08 MB / 480.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.2567, allocations: 1.094 kB / 480.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.2574, allocations: 255 kB / 481.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.2609, allocations: 1.207 MB / 482.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.2613, allocations: 82.94 kB / 482.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.2617, allocations: 302.7 kB / 482.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.426e-05/0.2618, allocations: 28.06 kB / 482.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.2619, allocations: 98.73 kB / 482.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.262, allocations: 105.9 kB / 482.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.262, allocations: 8.594 kB / 482.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4963/0.7584, allocations: 38.94 MB / 0.5096 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.7585, allocations: 31.78 kB / 0.5097 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.7588, allocations: 135.3 kB / 0.5098 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.7609, allocations: 0.5064 MB / 0.5103 GB, free: 3.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7609, allocations: 0 / 0.5103 GB, free: 3.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7609, allocations: 0 / 0.5103 GB, free: 3.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.7609, allocations: 0 / 0.5103 GB, free: 3.215 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.0006142/0.7615, allocations: 0.5695 MB / 0.5109 GB, free: 2.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.7616, allocations: 12.03 kB / 0.5109 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.103e-05/0.7617, allocations: 70.72 kB / 0.5109 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007214/0.7624, allocations: 196.5 kB / 0.5111 GB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.7625, allocations: 192.1 kB / 0.5113 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.7625, allocations: 20.69 kB / 0.5113 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.7626, allocations: 24 kB / 0.5113 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.763, allocations: 341.5 kB / 0.5117 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.763, allocations: 0 / 0.5117 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.7631, allocations: 15.98 kB / 0.5117 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.7631, allocations: 11.98 kB / 0.5117 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.7634, allocations: 263.9 kB / 0.512 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.765, allocations: 2.115 MB / 0.514 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.7652, allocations: 137.1 kB / 0.5141 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.7653, allocations: 105.8 kB / 0.5142 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005598/0.7658, allocations: 0.6928 MB / 0.5149 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.7659, allocations: 30.56 kB / 0.515 GB, free: 13.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.7659, allocations: 0 / 0.515 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003438/0.7662, allocations: 185.7 kB / 0.5151 GB, free: 13.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.7663, allocations: 81.09 kB / 0.5152 GB, free: 13.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/0.7664, allocations: 101.9 kB / 0.5153 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.7664, allocations: 29.77 kB / 0.5153 GB, free: 13.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.7665, allocations: 164 kB / 0.5155 GB, free: 13.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.554e-05/0.7666, allocations: 102.5 kB / 0.5156 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.7666, allocations: 37.7 kB / 0.5156 GB, free: 13.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.7667, allocations: 322.8 kB / 0.5159 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.439e-05/0.7668, allocations: 35.98 kB / 0.516 GB, free: 12.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-05/0.7669, allocations: 92.84 kB / 0.5161 GB, free: 12.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.767, allocations: 146.5 kB / 0.5162 GB, free: 12.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.767, allocations: 0 / 0.5162 GB, free: 12.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002169/0.7673, allocations: 165.2 kB / 0.5164 GB, free: 12.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.7673, allocations: 8 kB / 0.5164 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7673, allocations: 48 / 0.5164 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.7673, allocations: 7.984 kB / 0.5164 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.7674, allocations: 11.94 kB / 0.5164 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.7674, allocations: 0 / 0.5164 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.7675, allocations: 23.78 kB / 0.5164 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.7675, allocations: 4 kB / 0.5164 GB, free: 12.3 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 9.873e-05/0.7676, allocations: 135.5 kB / 0.5165 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.7676, allocations: 11.81 kB / 0.5165 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.7677, allocations: 8.438 kB / 0.5166 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.7677, allocations: 4 kB / 0.5166 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.7677, allocations: 0 / 0.5166 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7677, allocations: 3.938 kB / 0.5166 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.768, allocations: 277.4 kB / 0.5168 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.768, allocations: 0 / 0.5168 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.768, allocations: 7.938 kB / 0.5168 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7681, allocations: 0 / 0.5168 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.7681, allocations: 0 / 0.5168 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7681, allocations: 11.94 kB / 0.5168 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7681, allocations: 80 / 0.5168 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.7697, allocations: 315.1 kB / 0.5171 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.7697, allocations: 92.86 kB / 0.5172 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.7697, allocations: 4 kB / 0.5172 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.7699, allocations: 0 / 0.5172 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.7699, allocations: 11.94 kB / 0.5172 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.7699, allocations: 7.938 kB / 0.5173 GB, free: 11.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.7699, allocations: 83.2 kB / 0.5173 GB, free: 11.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7699, allocations: 0 / 0.5173 GB, free: 11.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.7704, allocations: 87.69 kB / 0.5174 GB, free: 11.17 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.0006788/0.7711, allocations: 0.9208 MB / 0.5183 GB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.7714, allocations: 224 kB / 0.5185 GB, free: 9.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7714, allocations: 3.938 kB / 0.5185 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.7715, allocations: 201.8 kB / 0.5187 GB, free: 9.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.7722, allocations: 83.78 kB / 0.5188 GB, free: 9.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009358/0.7731, allocations: 0.5834 MB / 0.5194 GB, free: 9.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.7735, allocations: 0.7956 MB / 0.5202 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.7736, allocations: 29.17 kB / 0.5202 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.7737, allocations: 115.4 kB / 0.5203 GB, free: 8.098 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.7737, allocations: 0 / 0.5203 GB, free: 8.098 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.7999, allocations: 8.143 MB / 0.5282 GB, free: 15.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.725, allocations: 3.953 kB / 0.5282 GB, free: 15.98 MB / 414.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1)