Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_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.00117/0.00117, 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.00124/0.00124, allocations: 195.7 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1625/0.1625, allocations: 2.758 MB / 293.2 MB, free: 3.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.89 kB / 354.5 MB, free: 4.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.1012, allocations: 50.24 MB / 404.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.2293/0.3306, allocations: 82.94 MB / 487.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03336/0.3639, allocations: 40.72 MB / 0.516 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.3651, allocations: 2.906 kB / 0.516 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.368, allocations: 1.235 MB / 0.5172 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02043/0.3885, allocations: 6.973 MB / 0.524 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.3897, allocations: 272.7 kB / 0.5243 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002452/0.3922, allocations: 1.335 MB / 0.5256 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.3924, allocations: 114.5 kB / 0.5257 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006638/0.3931, allocations: 414.2 kB / 0.5261 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007044/0.3938, allocations: 0.4905 MB / 0.5266 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/0.3939, allocations: 38.31 kB / 0.5266 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.26/1.654, allocations: 165.6 MB / 0.6883 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000241/1.654, allocations: 149.6 kB / 0.6885 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001343/1.656, allocations: 0.5954 MB / 0.689 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01326/1.669, allocations: 2.721 MB / 0.6917 GB, free: 8.562 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.669, allocations: 3.984 kB / 0.6917 GB, free: 8.559 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.904e-06/1.669, allocations: 0 / 0.6917 GB, free: 8.559 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/1.669, allocations: 0 / 0.6917 GB, free: 8.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.001827/1.671, allocations: 1.575 MB / 0.6932 GB, free: 7.211 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.671, allocations: 8.031 kB / 0.6932 GB, free: 7.203 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/1.671, allocations: 206.4 kB / 0.6934 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004358/1.676, allocations: 1.211 MB / 0.6946 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/1.676, allocations: 279.2 kB / 0.6949 GB, free: 6.035 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/1.676, allocations: 77 kB / 0.695 GB, free: 5.992 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/1.676, allocations: 94.44 kB / 0.6951 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/1.678, allocations: 1.696 MB / 0.6967 GB, free: 4.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/1.678, allocations: 4 kB / 0.6967 GB, free: 4.926 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/1.678, allocations: 38.75 kB / 0.6968 GB, free: 4.918 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-05/1.678, allocations: 74.55 kB / 0.6968 GB, free: 4.871 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/1.68, allocations: 1.608 MB / 0.6984 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006385/1.686, allocations: 8.649 MB / 0.7068 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000838/1.687, allocations: 0.7658 MB / 0.7076 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006901/1.688, allocations: 0.7374 MB / 0.7083 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001986/1.69, allocations: 2.355 MB / 0.7106 GB, free: 8.645 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/1.69, allocations: 37.84 kB / 0.7106 GB, free: 8.602 MB / 478.1 MB Notification: Performance of pre-optimization done (n=182): time 3.467e-06/1.69, allocations: 7.984 kB / 0.7106 GB, free: 8.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=182): time 0.003381/1.693, allocations: 1.509 MB / 0.7121 GB, free: 7.652 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/1.693, allocations: 81.11 kB / 0.7122 GB, free: 7.555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/1.693, allocations: 133.3 kB / 0.7123 GB, free: 7.426 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/1.693, allocations: 29.14 kB / 0.7124 GB, free: 7.395 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/1.694, allocations: 394 kB / 0.7127 GB, free: 7.027 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/1.694, allocations: 0.5722 MB / 0.7133 GB, free: 6.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/1.694, allocations: 131.6 kB / 0.7134 GB, free: 6.422 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/1.694, allocations: 310 kB / 0.7137 GB, free: 6.113 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/1.695, allocations: 338 kB / 0.714 GB, free: 5.836 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/1.695, allocations: 500 kB / 0.7145 GB, free: 5.305 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/1.696, allocations: 1.026 MB / 0.7155 GB, free: 4.246 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.697, allocations: 0 / 0.7155 GB, free: 4.246 MB / 478.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001329/1.698, allocations: 1.046 MB / 0.7165 GB, free: 3.207 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.698, allocations: 11.91 kB / 0.7165 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.698, allocations: 4.406 kB / 0.7165 GB, free: 3.191 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/1.698, allocations: 8 kB / 0.7166 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/1.698, allocations: 31.27 kB / 0.7166 GB, free: 3.156 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.698, allocations: 7.188 kB / 0.7166 GB, free: 3.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/1.698, allocations: 78.81 kB / 0.7167 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/1.698, allocations: 27.98 kB / 0.7167 GB, free: 3.047 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.0003565/1.699, allocations: 223.3 kB / 0.7169 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/1.699, allocations: 55.12 kB / 0.717 GB, free: 2.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/1.699, allocations: 27.89 kB / 0.717 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/1.699, allocations: 15.98 kB / 0.717 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.699, allocations: 0 / 0.717 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.699, allocations: 0 / 0.717 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/1.7, allocations: 1.047 MB / 0.718 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.7, allocations: 0 / 0.718 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/1.7, allocations: 8 kB / 0.718 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.7, allocations: 0 / 0.718 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/1.7, allocations: 16 kB / 0.718 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.7, allocations: 3.281 kB / 0.7181 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.7, allocations: 0 / 0.7181 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/1.702, allocations: 1.188 MB / 0.7192 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/1.702, allocations: 159.9 kB / 0.7194 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/1.702, allocations: 0 / 0.7194 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/1.702, allocations: 8 kB / 0.7194 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/1.702, allocations: 15.98 kB / 0.7194 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/1.702, allocations: 16 kB / 0.7194 GB, free: 196 kB / 478.1 MB Notification: Performance of sorting global known variables: time 5.508e-05/1.702, allocations: 95.27 kB / 0.7195 GB, free: 100 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.702, allocations: 7.188 kB / 0.7195 GB, free: 96 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.001069/1.703, allocations: 386.6 kB / 0.7199 GB, free: 15.71 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.002458/1.706, allocations: 2.16 MB / 0.722 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/1.708, allocations: 1.742 MB / 0.7237 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.708, allocations: 0 / 0.7237 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/1.709, allocations: 1.828 MB / 0.7255 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/1.712, allocations: 477.5 kB / 0.7259 GB, free: 9.086 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/1.715, allocations: 2.361 MB / 0.7282 GB, free: 6.684 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009465/1.716, allocations: 1.293 MB / 0.7295 GB, free: 5.363 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007082/1.717, allocations: 175.5 kB / 0.7297 GB, free: 5.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006413/1.717, allocations: 0.6243 MB / 0.7303 GB, free: 4.562 MB / 494.1 MB Notification: Performance of SimCode: time 5.42e-07/1.717, allocations: 0 / 0.7303 GB, free: 4.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2431/1.961, allocations: 40.31 MB / 0.7696 GB, free: 215 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.763/10.72, allocations: 7.078 kB / 0.7696 GB, free: 215 MB / 0.5137 GB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1)