Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.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.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",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.001613/0.001613, allocations: 108 kB / 15.61 MB, free: 152 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.002215/0.002214, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1466/0.1466, allocations: 2.762 MB / 293.2 MB, free: 3.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 59.91 kB / 354.5 MB, free: 4.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1034, allocations: 50.23 MB / 404.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.2714/0.3749, allocations: 82.93 MB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04061/0.4155, allocations: 40.73 MB / 0.516 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.4173, allocations: 4.406 kB / 0.516 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003893/0.4212, allocations: 1.235 MB / 0.5172 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02963/0.4509, allocations: 6.967 MB / 0.524 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.4521, allocations: 270.2 kB / 0.5243 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.4546, allocations: 1.335 MB / 0.5256 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.4549, allocations: 113.5 kB / 0.5257 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009624/0.4559, allocations: 422.7 kB / 0.5261 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.4573, allocations: 0.4954 MB / 0.5266 GB, free: 8.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.4575, allocations: 40.84 kB / 0.5266 GB, free: 8.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.437/1.894, allocations: 167.7 MB / 0.6903 GB, free: 8.891 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002511/1.895, allocations: 151.2 kB / 0.6905 GB, free: 8.805 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001746/1.896, allocations: 0.5939 MB / 0.6911 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/1.909, allocations: 2.721 MB / 0.6937 GB, free: 6.559 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.909, allocations: 0 / 0.6937 GB, free: 6.559 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/1.909, allocations: 0 / 0.6937 GB, free: 6.559 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.857e-05/1.909, allocations: 0 / 0.6937 GB, free: 6.559 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.002345/1.911, allocations: 1.585 MB / 0.6953 GB, free: 5.203 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.911, allocations: 12.03 kB / 0.6953 GB, free: 5.191 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/1.911, allocations: 197.9 kB / 0.6955 GB, free: 5.066 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/1.916, allocations: 1.212 MB / 0.6967 GB, free: 4.305 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/1.916, allocations: 291.9 kB / 0.6969 GB, free: 4.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-05/1.916, allocations: 68.25 kB / 0.697 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/1.916, allocations: 99.19 kB / 0.6971 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/1.919, allocations: 1.706 MB / 0.6988 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/1.919, allocations: 0 / 0.6988 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/1.919, allocations: 41.38 kB / 0.6988 GB, free: 2.902 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/1.919, allocations: 66.81 kB / 0.6989 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/1.921, allocations: 1.603 MB / 0.7004 GB, free: 1.988 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007163/1.928, allocations: 8.649 MB / 0.7089 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009139/1.929, allocations: 0.7585 MB / 0.7096 GB, free: 9.137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/1.93, allocations: 0.743 MB / 0.7103 GB, free: 8.855 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002202/1.932, allocations: 2.346 MB / 0.7126 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/1.932, allocations: 41.5 kB / 0.7127 GB, free: 6.602 MB / 478.1 MB Notification: Performance of pre-optimization done (n=182): time 2.364e-06/1.932, allocations: 7.938 kB / 0.7127 GB, free: 6.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=182): time 0.01119/1.944, allocations: 1.505 MB / 0.7142 GB, free: 5.652 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/1.944, allocations: 81.11 kB / 0.7142 GB, free: 5.555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/1.944, allocations: 134.5 kB / 0.7144 GB, free: 5.426 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/1.944, allocations: 25.7 kB / 0.7144 GB, free: 5.395 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/1.944, allocations: 394.9 kB / 0.7148 GB, free: 5.031 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/1.945, allocations: 0.5684 MB / 0.7153 GB, free: 4.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/1.945, allocations: 137.6 kB / 0.7154 GB, free: 4.379 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/1.945, allocations: 310 kB / 0.7157 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/1.945, allocations: 341.9 kB / 0.7161 GB, free: 3.738 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005577/1.946, allocations: 499.9 kB / 0.7165 GB, free: 3.207 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/1.947, allocations: 1.018 MB / 0.7175 GB, free: 2.156 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.947, allocations: 0 / 0.7175 GB, free: 2.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001455/1.949, allocations: 1.057 MB / 0.7186 GB, free: 1.109 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.949, allocations: 8 kB / 0.7186 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.949, allocations: 4 kB / 0.7186 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/1.949, allocations: 4 kB / 0.7186 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/1.949, allocations: 31.27 kB / 0.7186 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/1.949, allocations: 10.98 kB / 0.7186 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/1.949, allocations: 83.22 kB / 0.7187 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/1.949, allocations: 24 kB / 0.7187 GB, free: 0.9531 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003815/1.95, allocations: 223 kB / 0.7189 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/1.95, allocations: 51.19 kB / 0.719 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.429e-05/1.95, allocations: 31.89 kB / 0.719 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/1.95, allocations: 7.984 kB / 0.719 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.95, allocations: 4 kB / 0.719 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.95, allocations: 0 / 0.719 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/1.951, allocations: 1.052 MB / 0.7201 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.951, allocations: 0 / 0.7201 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/1.951, allocations: 4 kB / 0.7201 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.951, allocations: 2.812 kB / 0.7201 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/1.951, allocations: 16 kB / 0.7201 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.951, allocations: 0 / 0.7201 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.951, allocations: 4 kB / 0.7201 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/1.953, allocations: 1.184 MB / 0.7212 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/1.953, allocations: 156 kB / 0.7214 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/1.953, allocations: 4 kB / 0.7214 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/1.953, allocations: 7.188 kB / 0.7214 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/1.954, allocations: 15.98 kB / 0.7214 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/1.954, allocations: 16 kB / 0.7214 GB, free: 14.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.04e-05/1.954, allocations: 103.6 kB / 0.7215 GB, free: 14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.954, allocations: 0 / 0.7215 GB, free: 14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001069/1.955, allocations: 386.6 kB / 0.7219 GB, free: 13.62 MB / 494.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: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.002422/1.957, allocations: 2.165 MB / 0.724 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002066/1.959, allocations: 1.748 MB / 0.7257 GB, free: 9.652 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.959, allocations: 0 / 0.7257 GB, free: 9.652 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/1.961, allocations: 1.822 MB / 0.7275 GB, free: 7.457 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/1.963, allocations: 469.5 kB / 0.728 GB, free: 6.996 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/1.967, allocations: 2.375 MB / 0.7303 GB, free: 4.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/1.968, allocations: 1.289 MB / 0.7315 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007341/1.969, allocations: 179.4 kB / 0.7317 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/1.969, allocations: 0.6203 MB / 0.7323 GB, free: 2.465 MB / 494.1 MB Notification: Performance of SimCode: time 4.6e-07/1.969, allocations: 4 kB / 0.7323 GB, free: 2.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2207/2.19, allocations: 40.43 MB / 0.7718 GB, free: 215.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/10.87, allocations: 6.141 kB / 0.7718 GB, free: 215.9 MB / 0.5137 GB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1)