Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",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.001473/0.001473, allocations: 105.9 kB / 16.27 MB, free: 6.355 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.001754/0.001754, allocations: 191.5 kB / 17.2 MB, free: 5.953 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7627/0.7627, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.89 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3224, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01418/0.3366, allocations: 14.4 MB / 0.5813 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004472/0.3411, allocations: 3.641 MB / 0.5849 GB, free: 19.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005935/0.3418, allocations: 24.38 kB / 0.5849 GB, free: 19.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.3424, allocations: 205.2 kB / 0.5851 GB, free: 19.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.3439, allocations: 0.5864 MB / 0.5857 GB, free: 19.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.3448, allocations: 390.6 kB / 0.5861 GB, free: 18.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.346, allocations: 1.08 MB / 0.5871 GB, free: 18.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000451/0.3465, allocations: 324.5 kB / 0.5874 GB, free: 18.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009102/0.3474, allocations: 395.7 kB / 0.5878 GB, free: 17.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.3478, allocations: 301.7 kB / 0.5881 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.3478, allocations: 32.59 kB / 0.5881 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005631/0.3484, allocations: 260.7 kB / 0.5884 GB, free: 17.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.022e-05/0.3485, allocations: 92.33 kB / 0.5885 GB, free: 17.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.3487, allocations: 219.4 kB / 0.5887 GB, free: 17.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006475/0.3494, allocations: 0.5815 MB / 0.5892 GB, free: 16.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3494, allocations: 7.984 kB / 0.5892 GB, free: 16.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3494, allocations: 1.094 kB / 0.5892 GB, free: 16.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3494, allocations: 1 kB / 0.5892 GB, free: 16.97 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0009787/0.3504, allocations: 0.74 MB / 0.59 GB, free: 16.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3504, allocations: 9.594 kB / 0.59 GB, free: 16.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.3505, allocations: 63.53 kB / 0.59 GB, free: 16.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.3507, allocations: 52.25 kB / 0.5901 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.3513, allocations: 444.7 kB / 0.5905 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.3513, allocations: 23.66 kB / 0.5905 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.3514, allocations: 26.12 kB / 0.5906 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.3519, allocations: 311.9 kB / 0.5909 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3519, allocations: 1.312 kB / 0.5909 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.352, allocations: 16 kB / 0.5909 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.352, allocations: 7.188 kB / 0.5909 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.3525, allocations: 195.2 kB / 0.5911 GB, free: 15.5 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.354, allocations: 1.496 MB / 0.5925 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.3544, allocations: 152.5 kB / 0.5927 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.3546, allocations: 67.03 kB / 0.5927 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.3547, allocations: 87.75 kB / 0.5928 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.355, allocations: 128.6 kB / 0.5929 GB, free: 13.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.355, allocations: 0 / 0.5929 GB, free: 13.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.000645/0.3556, allocations: 240.8 kB / 0.5932 GB, free: 13.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.3557, allocations: 57.94 kB / 0.5932 GB, free: 13.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.356, allocations: 347.8 kB / 0.5936 GB, free: 13.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.356, allocations: 32.52 kB / 0.5936 GB, free: 13.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3561, allocations: 216 kB / 0.5938 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.3562, allocations: 54.28 kB / 0.5938 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.3562, allocations: 49.73 kB / 0.5939 GB, free: 13.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.3563, allocations: 345.6 kB / 0.5942 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.3565, allocations: 70.45 kB / 0.5943 GB, free: 12.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.3567, allocations: 149.6 kB / 0.5944 GB, free: 12.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.3571, allocations: 241.2 kB / 0.5947 GB, free: 12.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3571, allocations: 1.094 kB / 0.5947 GB, free: 12.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005555/0.3577, allocations: 318.9 kB / 0.595 GB, free: 12.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.3577, allocations: 41.23 kB / 0.595 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3577, allocations: 1.375 kB / 0.595 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3578, allocations: 8.344 kB / 0.595 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.358, allocations: 54.28 kB / 0.5951 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.358, allocations: 4.062 kB / 0.5951 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.3583, allocations: 31.61 kB / 0.5951 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.3583, allocations: 13.45 kB / 0.5951 GB, free: 12.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001246/0.3584, allocations: 162 kB / 0.5953 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.3585, allocations: 32.44 kB / 0.5953 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.3589, allocations: 206.5 kB / 0.5955 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3589, allocations: 5.375 kB / 0.5955 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.359, allocations: 1.094 kB / 0.5955 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003736/0.3593, allocations: 484 kB / 0.596 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.3597, allocations: 354.2 kB / 0.5963 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3597, allocations: 0 / 0.5963 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.3599, allocations: 35.91 kB / 0.5963 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3599, allocations: 0 / 0.5963 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3599, allocations: 2.781 kB / 0.5963 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3599, allocations: 3.938 kB / 0.5963 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3599, allocations: 0 / 0.5963 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.3605, allocations: 285.2 kB / 0.5966 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3606, allocations: 120.9 kB / 0.5967 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.3607, allocations: 5.188 kB / 0.5967 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.3609, allocations: 20.02 kB / 0.5968 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.361, allocations: 19.44 kB / 0.5968 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.361, allocations: 8.969 kB / 0.5968 GB, free: 10.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.3612, allocations: 247 kB / 0.597 GB, free: 10.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3612, allocations: 4 kB / 0.597 GB, free: 10.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004567/0.3617, allocations: 130.8 kB / 0.5972 GB, free: 10.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009415/0.3627, allocations: 0.9082 MB / 0.598 GB, free: 9.715 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004797/0.3631, allocations: 234.6 kB / 0.5983 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3632, allocations: 1.5 kB / 0.5983 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.3633, allocations: 71.61 kB / 0.5983 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009519/0.3643, allocations: 219.9 kB / 0.5985 GB, free: 9.438 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.3679, allocations: 3.074 MB / 0.6015 GB, free: 6.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.3681, allocations: 0.7918 MB / 0.6023 GB, free: 6.133 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.3684, allocations: 71.17 kB / 0.6024 GB, free: 6.059 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3686, allocations: 115.4 kB / 0.6025 GB, free: 5.945 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3686, allocations: 0 / 0.6025 GB, free: 5.945 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3978, allocations: 10.12 MB / 0.6124 GB, free: 12.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.631, allocations: 11.83 kB / 0.6124 GB, free: 12.01 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)