Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007364/0.0007366, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008143/0.0008143, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005983/0.0005984, allocations: 15.31 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2087, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01432/0.2231, allocations: 13.19 MB / 0.8002 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004354/0.2275, allocations: 3.381 MB / 0.8035 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003769/0.2279, allocations: 11.94 kB / 0.8035 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004901/0.2284, allocations: 147.1 kB / 0.8036 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.2295, allocations: 485.5 kB / 0.8041 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007357/0.2302, allocations: 298.4 kB / 0.8044 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.2315, allocations: 1.229 MB / 0.8056 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.2318, allocations: 248.7 kB / 0.8058 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.2322, allocations: 318.7 kB / 0.8061 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.2326, allocations: 270.8 kB / 0.8064 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.2326, allocations: 16 kB / 0.8064 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.233, allocations: 147.7 kB / 0.8065 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.51e-05/0.2331, allocations: 71.67 kB / 0.8066 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 9.901e-05/0.2332, allocations: 97.52 kB / 0.8067 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.2337, allocations: 430.9 kB / 0.8071 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2337, allocations: 0 / 0.8071 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2337, allocations: 4 kB / 0.8071 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2337, allocations: 4 kB / 0.8071 GB, free: 7.574 MB / 0.6231 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.0009576/0.2347, allocations: 0.6677 MB / 0.8077 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2347, allocations: 8.031 kB / 0.8078 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.2349, allocations: 43.53 kB / 0.8078 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006685/0.2356, allocations: 462 kB / 0.8082 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.2356, allocations: 28.5 kB / 0.8083 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.2357, allocations: 31.91 kB / 0.8083 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.2362, allocations: 314.2 kB / 0.8086 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2362, allocations: 0 / 0.8086 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.2363, allocations: 12 kB / 0.8086 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.633e-05/0.2364, allocations: 12 kB / 0.8086 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.2368, allocations: 202.1 kB / 0.8088 GB, free: 5.699 MB / 0.6231 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.001591/0.2384, allocations: 1.481 MB / 0.8103 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.2388, allocations: 170.5 kB / 0.8104 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.239, allocations: 72.81 kB / 0.8105 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.2391, allocations: 89.11 kB / 0.8106 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.2394, allocations: 139.2 kB / 0.8107 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.2394, allocations: 0 / 0.8107 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0005652/0.24, allocations: 248.2 kB / 0.8109 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.2401, allocations: 59.38 kB / 0.811 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.2404, allocations: 333.5 kB / 0.8113 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.2404, allocations: 33.7 kB / 0.8113 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2405, allocations: 211.8 kB / 0.8116 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.2406, allocations: 55.2 kB / 0.8116 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.2406, allocations: 4 kB / 0.8116 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2407, allocations: 342.8 kB / 0.8119 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.2409, allocations: 79.94 kB / 0.812 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.2412, allocations: 157.3 kB / 0.8122 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.2414, allocations: 117.6 kB / 0.8123 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2414, allocations: 0 / 0.8123 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005368/0.2419, allocations: 325.3 kB / 0.8126 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.242, allocations: 33.69 kB / 0.8126 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.242, allocations: 4 kB / 0.8126 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.242, allocations: 4 kB / 0.8126 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.2422, allocations: 59.91 kB / 0.8127 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2422, allocations: 4 kB / 0.8127 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.2425, allocations: 40.02 kB / 0.8127 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2425, allocations: 8 kB / 0.8127 GB, free: 1.414 MB / 0.6231 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.0001566/0.2427, allocations: 169.7 kB / 0.8129 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.2427, allocations: 31.62 kB / 0.8129 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004288/0.2432, allocations: 208.4 kB / 0.8131 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2432, allocations: 0 / 0.8131 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2432, allocations: 0 / 0.8131 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004559/0.2436, allocations: 499.7 kB / 0.8136 GB, free: 424 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.244, allocations: 353.3 kB / 0.8139 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2441, allocations: 0 / 0.8139 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.2442, allocations: 32.03 kB / 0.814 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2442, allocations: 4 kB / 0.814 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.2443, allocations: 7.938 kB / 0.814 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2443, allocations: 3.938 kB / 0.814 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2443, allocations: 3.938 kB / 0.814 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/0.2448, allocations: 303.2 kB / 0.8143 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.245, allocations: 124.7 kB / 0.8144 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.245, allocations: 8 kB / 0.8144 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2453, allocations: 23.88 kB / 0.8144 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.2453, allocations: 19.97 kB / 0.8144 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.2454, allocations: 8 kB / 0.8144 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002193/0.2456, allocations: 231.2 kB / 0.8147 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2456, allocations: 0 / 0.8147 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004059/0.246, allocations: 116 kB / 0.8148 GB, free: 15.12 MB / 0.6387 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002684/0.2463, allocations: 183 kB / 0.815 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.2468, allocations: 235.2 kB / 0.8152 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2468, allocations: 0 / 0.8152 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.247, allocations: 72.52 kB / 0.8152 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.2478, allocations: 201.2 kB / 0.8154 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2492, allocations: 0.9443 MB / 0.8164 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.2496, allocations: 0.7923 MB / 0.8171 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.2498, allocations: 67.19 kB / 0.8172 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.2499, allocations: 31.38 kB / 0.8172 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.2499, allocations: 0 / 0.8172 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of Templates: time 0.01162/0.2615, allocations: 6.326 MB / 0.8234 GB, free: 6.324 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) Environment - environmentSimulation: