Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") 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.6 MB / 307.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 185 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 0.6367 GB, free: 8.492 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008798/0.0008798, allocations: 92.25 kB / 0.751 GB, free: 63.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 12 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3466, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.378, allocations: 390.2 MB / 1.369 GB, free: 64 kB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.6008/1.979, allocations: 83.97 kB / 1.369 GB, free: 281.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.4933/2.472, allocations: 254.6 MB / 1.618 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.856e-06/2.472, allocations: 4 kB / 1.618 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.164e-05/2.472, allocations: 19.98 kB / 1.618 GB, free: 117.7 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002044/2.474, allocations: 1.012 MB / 1.619 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/2.474, allocations: 8.031 kB / 1.619 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007729/2.475, allocations: 179 kB / 1.619 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02134/2.496, allocations: 11.84 MB / 1.631 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/2.497, allocations: 96.94 kB / 1.631 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.889e-05/2.497, allocations: 43.98 kB / 1.631 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009463/2.498, allocations: 0.5007 MB / 1.631 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/2.498, allocations: 4 kB / 1.631 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/2.498, allocations: 20 kB / 1.632 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/2.498, allocations: 8 kB / 1.632 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008801/2.499, allocations: 422.6 kB / 1.632 GB, free: 103.3 MB / 0.9323 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.002677/2.501, allocations: 2.274 MB / 1.634 GB, free: 100.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008749/2.502, allocations: 383 kB / 1.634 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/2.503, allocations: 340.6 kB / 1.635 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005303/2.503, allocations: 320 kB / 1.635 GB, free: 99.73 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.236e-06/2.503, allocations: 0 / 1.635 GB, free: 99.73 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.002016/2.505, allocations: 0.9666 MB / 1.636 GB, free: 98.72 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/2.505, allocations: 85.09 kB / 1.636 GB, free: 98.62 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/2.506, allocations: 430.2 kB / 1.637 GB, free: 98.19 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/2.506, allocations: 33.7 kB / 1.637 GB, free: 98.15 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/2.506, allocations: 276.4 kB / 1.637 GB, free: 97.88 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/2.506, allocations: 110.4 kB / 1.637 GB, free: 97.77 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/2.506, allocations: 4 kB / 1.637 GB, free: 97.76 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001089/2.506, allocations: 366.8 kB / 1.637 GB, free: 97.39 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/2.507, allocations: 175.9 kB / 1.637 GB, free: 97.22 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/2.507, allocations: 293.8 kB / 1.638 GB, free: 96.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/2.507, allocations: 225.6 kB / 1.638 GB, free: 96.67 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/2.507, allocations: 0 / 1.638 GB, free: 96.67 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0011/2.509, allocations: 0.6374 MB / 1.639 GB, free: 96.02 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/2.509, allocations: 0.6508 MB / 1.639 GB, free: 95.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/2.509, allocations: 7.953 kB / 1.639 GB, free: 95.31 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/2.509, allocations: 52.81 kB / 1.639 GB, free: 95.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/2.509, allocations: 83.89 kB / 1.639 GB, free: 95.17 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003649/2.51, allocations: 0.5952 MB / 1.64 GB, free: 94.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/2.51, allocations: 79.69 kB / 1.64 GB, free: 94.47 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/2.51, allocations: 20 kB / 1.64 GB, free: 94.45 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/2.51, allocations: 4 kB / 1.64 GB, free: 94.45 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/2.511, allocations: 0.5763 MB / 1.641 GB, free: 93.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/2.511, allocations: 0 / 1.641 GB, free: 93.86 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/2.512, allocations: 52.98 kB / 1.641 GB, free: 93.81 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/2.512, allocations: 83.88 kB / 1.641 GB, free: 93.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/2.513, allocations: 1.642 MB / 1.642 GB, free: 91.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/2.514, allocations: 79.69 kB / 1.642 GB, free: 91.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/2.514, allocations: 19.98 kB / 1.642 GB, free: 91.84 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003666/2.514, allocations: 290.7 kB / 1.643 GB, free: 91.54 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/2.514, allocations: 59.34 kB / 1.643 GB, free: 91.48 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/2.515, allocations: 0.6688 MB / 1.643 GB, free: 90.79 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/2.515, allocations: 8 kB / 1.643 GB, free: 90.78 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/2.515, allocations: 0 / 1.643 GB, free: 90.78 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001054/2.517, allocations: 0.822 MB / 1.644 GB, free: 89.88 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/2.519, allocations: 1.331 MB / 1.646 GB, free: 88.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/2.519, allocations: 0 / 1.646 GB, free: 88.48 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/2.519, allocations: 72.03 kB / 1.646 GB, free: 88.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/2.519, allocations: 48.78 kB / 1.646 GB, free: 88.36 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/2.519, allocations: 11.98 kB / 1.646 GB, free: 88.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002589/2.519, allocations: 0.5796 MB / 1.646 GB, free: 87.74 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/2.519, allocations: 3.938 kB / 1.646 GB, free: 87.73 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/2.521, allocations: 1.047 MB / 1.647 GB, free: 86.63 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/2.521, allocations: 188.2 kB / 1.647 GB, free: 86.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/2.521, allocations: 12 kB / 1.647 GB, free: 86.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/2.522, allocations: 67.89 kB / 1.648 GB, free: 86.35 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/2.522, allocations: 24.16 kB / 1.648 GB, free: 86.33 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/2.522, allocations: 19.98 kB / 1.648 GB, free: 86.31 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003355/2.522, allocations: 346.8 kB / 1.648 GB, free: 85.97 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.01e-07/2.522, allocations: 0 / 1.648 GB, free: 85.97 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001311/2.524, allocations: 371.5 kB / 1.648 GB, free: 85.61 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007815/2.524, allocations: 431.3 kB / 1.649 GB, free: 85.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001773/2.526, allocations: 0.9827 MB / 1.65 GB, free: 84.18 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/2.526, allocations: 0 / 1.65 GB, free: 84.18 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005066/2.527, allocations: 334 kB / 1.65 GB, free: 83.84 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/2.528, allocations: 241.9 kB / 1.65 GB, free: 83.61 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/2.53, allocations: 1.339 MB / 1.651 GB, free: 82.23 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/2.53, allocations: 0.8901 MB / 1.652 GB, free: 81.31 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005112/2.531, allocations: 124.3 kB / 1.652 GB, free: 81.19 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/2.531, allocations: 51.42 kB / 1.653 GB, free: 81.14 MB / 0.9323 GB Notification: Performance of SimCode: time 4.91e-07/2.531, allocations: 0 / 1.653 GB, free: 81.14 MB / 0.9323 GB Notification: Performance of Templates: time 0.01782/2.548, allocations: 11.98 MB / 1.664 GB, free: 69.25 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)