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: translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 99.05 kB / 16.02 MB, free: 76 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.001226/0.001226, allocations: 179.8 kB / 16.92 MB, free: 6.918 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.531/1.531, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8361/0.8361, allocations: 126.9 MB / 418.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 11.98 kB / 0.498 GB, free: 9.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4894, allocations: 80.23 MB / 0.5763 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01471/0.5042, allocations: 13.88 MB / 0.5899 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008177/0.5124, allocations: 3.631 MB / 0.5934 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.5136, allocations: 13.41 kB / 0.5934 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008189/0.5144, allocations: 165.6 kB / 0.5936 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.5166, allocations: 0.5467 MB / 0.5941 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.5178, allocations: 358.8 kB / 0.5945 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.5204, allocations: 1.455 MB / 0.5959 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006175/0.5211, allocations: 263.6 kB / 0.5961 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009396/0.522, allocations: 349.3 kB / 0.5965 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000558/0.5226, allocations: 297.5 kB / 0.5968 GB, free: 9.742 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.5227, allocations: 13.56 kB / 0.5968 GB, free: 9.742 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008578/0.5235, allocations: 246 kB / 0.597 GB, free: 9.645 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.5237, allocations: 73.38 kB / 0.5971 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.524, allocations: 218 kB / 0.5973 GB, free: 9.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000946/0.5249, allocations: 0.5608 MB / 0.5978 GB, free: 9.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5249, allocations: 1.828 kB / 0.5978 GB, free: 9.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5249, allocations: 4 kB / 0.5978 GB, free: 9.297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.525, allocations: 0 / 0.5978 GB, free: 9.297 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.001364/0.5263, allocations: 0.6833 MB / 0.5985 GB, free: 8.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5264, allocations: 9.781 kB / 0.5985 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.5266, allocations: 47.11 kB / 0.5986 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008764/0.5275, allocations: 483.7 kB / 0.599 GB, free: 8.359 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.5275, allocations: 19.66 kB / 0.599 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.5276, allocations: 26.22 kB / 0.5991 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007006/0.5283, allocations: 313.1 kB / 0.5994 GB, free: 8.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.5283, allocations: 1.156 kB / 0.5994 GB, free: 8.188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.5284, allocations: 11.77 kB / 0.5994 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.5284, allocations: 7.25 kB / 0.5994 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.529, allocations: 217.1 kB / 0.5996 GB, free: 8.105 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.002247/0.5312, allocations: 1.49 MB / 0.601 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.5317, allocations: 168.4 kB / 0.6012 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.532, allocations: 70.11 kB / 0.6013 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/0.5322, allocations: 85.53 kB / 0.6014 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003573/0.5325, allocations: 141.9 kB / 0.6015 GB, free: 6.645 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.354e-06/0.5325, allocations: 0 / 0.6015 GB, free: 6.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007534/0.5333, allocations: 252.3 kB / 0.6017 GB, free: 6.547 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.5334, allocations: 53.86 kB / 0.6018 GB, free: 6.484 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.5339, allocations: 341 kB / 0.6021 GB, free: 6.293 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.5339, allocations: 31.05 kB / 0.6021 GB, free: 6.258 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.5341, allocations: 215.8 kB / 0.6023 GB, free: 6.062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/0.5342, allocations: 51.11 kB / 0.6024 GB, free: 6.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.5342, allocations: 29.73 kB / 0.6024 GB, free: 5.992 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5344, allocations: 341.8 kB / 0.6027 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.5346, allocations: 73.73 kB / 0.6028 GB, free: 5.625 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.5349, allocations: 154 kB / 0.603 GB, free: 5.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.5354, allocations: 255.1 kB / 0.6032 GB, free: 5.293 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.5354, allocations: 5.375 kB / 0.6032 GB, free: 5.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000683/0.5361, allocations: 323.7 kB / 0.6035 GB, free: 5.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.5362, allocations: 41.28 kB / 0.6036 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5362, allocations: 2.344 kB / 0.6036 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.5362, allocations: 3.281 kB / 0.6036 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.5365, allocations: 61.44 kB / 0.6036 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5365, allocations: 3.844 kB / 0.6036 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.5369, allocations: 45.27 kB / 0.6037 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.5369, allocations: 8.844 kB / 0.6037 GB, free: 5.023 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.0002306/0.5371, allocations: 161.7 kB / 0.6038 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.5372, allocations: 35.84 kB / 0.6039 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005302/0.5377, allocations: 209.1 kB / 0.6041 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5378, allocations: 2.281 kB / 0.6041 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.5378, allocations: 4 kB / 0.6041 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005887/0.5384, allocations: 497.7 kB / 0.6045 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.539, allocations: 353.1 kB / 0.6049 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.539, allocations: 9.172 kB / 0.6049 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.5392, allocations: 37.05 kB / 0.6049 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.5392, allocations: 5.469 kB / 0.6049 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5392, allocations: 5.312 kB / 0.6049 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5392, allocations: 1.344 kB / 0.6049 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5392, allocations: 0 / 0.6049 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.5399, allocations: 299.4 kB / 0.6052 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.5401, allocations: 121.5 kB / 0.6053 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.5401, allocations: 13.08 kB / 0.6054 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.5404, allocations: 29.14 kB / 0.6054 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.5405, allocations: 22.44 kB / 0.6054 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.5405, allocations: 5.594 kB / 0.6054 GB, free: 3.547 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002963/0.5408, allocations: 241 kB / 0.6056 GB, free: 3.391 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5408, allocations: 0 / 0.6056 GB, free: 3.391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005248/0.5414, allocations: 107.8 kB / 0.6057 GB, free: 3.375 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.0003912/0.5418, allocations: 186.2 kB / 0.6059 GB, free: 3.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005676/0.5424, allocations: 238.3 kB / 0.6061 GB, free: 3.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5424, allocations: 0 / 0.6061 GB, free: 3.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.5426, allocations: 82.77 kB / 0.6062 GB, free: 3.066 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.5437, allocations: 203.1 kB / 0.6064 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.5454, allocations: 0.9362 MB / 0.6073 GB, free: 2.254 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.5459, allocations: 0.7905 MB / 0.6081 GB, free: 1.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003553/0.5463, allocations: 60.92 kB / 0.6082 GB, free: 1.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.5464, allocations: 36.86 kB / 0.6082 GB, free: 1.465 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5464, allocations: 0 / 0.6082 GB, free: 1.465 MB / 446.1 MB Notification: Performance of Templates: time 0.01535/0.5617, allocations: 6.534 MB / 0.6146 GB, free: 14.21 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)