Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.108/2.108, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 185.2 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.243/2.243, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009089/0.0009087, allocations: 91.97 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004742, allocations: 12.5 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1944, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01546/0.2099, allocations: 13.21 MB / 0.9124 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005782/0.2158, allocations: 3.362 MB / 0.9157 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005224/0.2163, allocations: 19.88 kB / 0.9157 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006479/0.217, allocations: 151.1 kB / 0.9158 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.2185, allocations: 477.6 kB / 0.9163 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2195, allocations: 275.2 kB / 0.9166 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.2211, allocations: 1.239 MB / 0.9178 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.2215, allocations: 246.1 kB / 0.918 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004799/0.222, allocations: 310.7 kB / 0.9183 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004044/0.2224, allocations: 274.8 kB / 0.9186 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.2225, allocations: 16 kB / 0.9186 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006168/0.2231, allocations: 147.6 kB / 0.9187 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.2232, allocations: 67.73 kB / 0.9188 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.2234, allocations: 97.52 kB / 0.9189 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.2239, allocations: 423.2 kB / 0.9193 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2239, allocations: 0 / 0.9193 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.224, allocations: 0 / 0.9193 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.224, allocations: 0 / 0.9193 GB, free: 45.21 MB / 0.6042 GB 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.001252/0.2252, allocations: 0.6757 MB / 0.9199 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2253, allocations: 12.03 kB / 0.9199 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.2255, allocations: 52.36 kB / 0.92 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008498/0.2264, allocations: 451.5 kB / 0.9204 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.2264, allocations: 24.67 kB / 0.9204 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.548e-05/0.2265, allocations: 31.98 kB / 0.9205 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.2273, allocations: 314.1 kB / 0.9208 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.2273, allocations: 0 / 0.9208 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.2274, allocations: 12 kB / 0.9208 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.2274, allocations: 7.984 kB / 0.9208 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.2281, allocations: 206.1 kB / 0.921 GB, free: 43.33 MB / 0.6042 GB 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.002063/0.2302, allocations: 1.489 MB / 0.9224 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006482/0.2309, allocations: 166.6 kB / 0.9226 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.2311, allocations: 68.81 kB / 0.9227 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.2313, allocations: 89.09 kB / 0.9228 GB, free: 41.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003886/0.2317, allocations: 135.2 kB / 0.9229 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.095e-06/0.2318, allocations: 0 / 0.9229 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0008967/0.2327, allocations: 258.1 kB / 0.9231 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.2327, allocations: 55.41 kB / 0.9232 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.2331, allocations: 321.7 kB / 0.9235 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.2332, allocations: 29.7 kB / 0.9235 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.2333, allocations: 219.6 kB / 0.9237 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.2334, allocations: 47.36 kB / 0.9238 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.2334, allocations: 4 kB / 0.9238 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.2335, allocations: 350.8 kB / 0.9241 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.2338, allocations: 67.95 kB / 0.9242 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.2341, allocations: 157.3 kB / 0.9243 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.2345, allocations: 115.6 kB / 0.9244 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.2345, allocations: 0 / 0.9244 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000867/0.2354, allocations: 322.8 kB / 0.9247 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.2355, allocations: 33.69 kB / 0.9248 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.986e-06/0.2355, allocations: 4 kB / 0.9248 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.2355, allocations: 7.984 kB / 0.9248 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.2359, allocations: 59.84 kB / 0.9248 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.2359, allocations: 8.188 kB / 0.9249 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.2364, allocations: 43.67 kB / 0.9249 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.2364, allocations: 12 kB / 0.9249 GB, free: 39.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.2366, allocations: 158.9 kB / 0.9251 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.2367, allocations: 31.62 kB / 0.9251 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.2374, allocations: 214.4 kB / 0.9253 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006069/0.238, allocations: 0.4918 MB / 0.9258 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.238, allocations: 0 / 0.9258 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.2382, allocations: 128.7 kB / 0.9259 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/0.2383, allocations: 0 / 0.9259 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.2387, allocations: 23.97 kB / 0.9259 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.2388, allocations: 15.97 kB / 0.9259 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008634/0.2397, allocations: 279.1 kB / 0.9262 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009496/0.2406, allocations: 458.1 kB / 0.9266 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002726/0.2409, allocations: 79.94 kB / 0.9267 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002903/0.2412, allocations: 231.2 kB / 0.9269 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of Backend: time 5e-07/0.2412, allocations: 0 / 0.9269 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.2424, allocations: 355.8 kB / 0.9273 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002715/0.2452, allocations: 1.539 MB / 0.9288 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.01624/0.2614, allocations: 6.643 MB / 0.9353 GB, free: 28.3 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)