Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001055, allocations: 175.7 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4628/0.4628, allocations: 86.27 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 348.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008854/0.0008854, allocations: 97 kB / 420.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004395, allocations: 12 kB / 0.4901 GB, free: 8.016 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4068, allocations: 71.02 MB / 0.5594 GB, free: 43.72 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6802/1.087, allocations: 351.5 MB / 0.9028 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.087, allocations: 92.2 kB / 0.9028 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8215/1.909, allocations: 257.9 MB / 1.155 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.695e-06/1.909, allocations: 3.938 kB / 1.155 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.008e-05/1.909, allocations: 20.17 kB / 1.155 GB, free: 24.69 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002604/1.912, allocations: 1.019 MB / 1.156 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.912, allocations: 8.031 kB / 1.156 GB, free: 23.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009288/1.913, allocations: 184 kB / 1.156 GB, free: 23.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02065/1.933, allocations: 11.16 MB / 1.167 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003384/1.934, allocations: 93.5 kB / 1.167 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/1.934, allocations: 40.38 kB / 1.167 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/1.935, allocations: 0.5088 MB / 1.167 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/1.935, allocations: 0 / 1.167 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/1.935, allocations: 16 kB / 1.167 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/1.935, allocations: 8 kB / 1.167 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009485/1.936, allocations: 426.6 kB / 1.168 GB, free: 10.99 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.002986/1.939, allocations: 2.26 MB / 1.17 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008882/1.94, allocations: 394.8 kB / 1.17 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/1.94, allocations: 233 kB / 1.171 GB, free: 7.895 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/1.941, allocations: 348.6 kB / 1.171 GB, free: 7.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005314/1.941, allocations: 315.2 kB / 1.171 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.424e-06/1.941, allocations: 3.938 kB / 1.171 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002156/1.943, allocations: 0.8936 MB / 1.172 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/1.943, allocations: 85.05 kB / 1.172 GB, free: 6.125 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/1.944, allocations: 491 kB / 1.173 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/1.944, allocations: 33.7 kB / 1.173 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/1.944, allocations: 280.4 kB / 1.173 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.748e-05/1.944, allocations: 106.5 kB / 1.173 GB, free: 5.211 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/1.944, allocations: 8 kB / 1.173 GB, free: 5.203 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.058e-05/1.944, allocations: 366.7 kB / 1.173 GB, free: 4.836 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/1.945, allocations: 176.6 kB / 1.174 GB, free: 4.664 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/1.945, allocations: 290.6 kB / 1.174 GB, free: 4.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008074/1.946, allocations: 478.3 kB / 1.174 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.946, allocations: 4 kB / 1.174 GB, free: 3.836 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001287/1.947, allocations: 0.6542 MB / 1.175 GB, free: 3.168 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/1.947, allocations: 168 kB / 1.175 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.947, allocations: 4 kB / 1.175 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003133/1.948, allocations: 64.8 kB / 1.175 GB, free: 2.902 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/1.948, allocations: 87.88 kB / 1.175 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003537/1.949, allocations: 0.5952 MB / 1.176 GB, free: 2.195 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/1.949, allocations: 91.62 kB / 1.176 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/1.949, allocations: 27.97 kB / 1.176 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/1.949, allocations: 0 / 1.176 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001093/1.95, allocations: 0.5722 MB / 1.177 GB, free: 1.496 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/1.95, allocations: 4 kB / 1.177 GB, free: 1.492 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/1.95, allocations: 48.89 kB / 1.177 GB, free: 1.441 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/1.951, allocations: 88.03 kB / 1.177 GB, free: 1.355 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3965/2.347, allocations: 1.625 MB / 1.178 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/2.348, allocations: 75.16 kB / 1.178 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/2.348, allocations: 23.16 kB / 1.178 GB, free: 147.6 MB / 0.6042 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.0004666/2.349, allocations: 296.1 kB / 1.179 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/2.349, allocations: 60.38 kB / 1.179 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/2.35, allocations: 0.6827 MB / 1.179 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/2.35, allocations: 2.875 kB / 1.179 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/2.35, allocations: 3.75 kB / 1.179 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/2.352, allocations: 0.8279 MB / 1.18 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/2.354, allocations: 1.328 MB / 1.182 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/2.354, allocations: 1.5 kB / 1.182 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/2.354, allocations: 72.45 kB / 1.182 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000146/2.354, allocations: 46.25 kB / 1.182 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/2.355, allocations: 11.14 kB / 1.182 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003035/2.355, allocations: 0.5749 MB / 1.182 GB, free: 146 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/2.355, allocations: 5.25 kB / 1.182 GB, free: 146 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/2.357, allocations: 1.009 MB / 1.183 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/2.357, allocations: 186.2 kB / 1.183 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/2.357, allocations: 8.734 kB / 1.183 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/2.358, allocations: 73.41 kB / 1.183 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/2.358, allocations: 27.61 kB / 1.183 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/2.358, allocations: 26.27 kB / 1.184 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005058/2.359, allocations: 338.5 kB / 1.184 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/2.359, allocations: 0 / 1.184 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001691/2.36, allocations: 376.4 kB / 1.184 GB, free: 145.6 MB / 0.6042 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.0009057/2.361, allocations: 430.4 kB / 1.185 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002127/2.363, allocations: 0.9961 MB / 1.186 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/2.363, allocations: 0 / 1.186 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005309/2.364, allocations: 321.7 kB / 1.186 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/2.365, allocations: 244.5 kB / 1.186 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/2.367, allocations: 1.332 MB / 1.187 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/2.368, allocations: 0.8812 MB / 1.188 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005315/2.368, allocations: 127.1 kB / 1.188 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/2.368, allocations: 52.61 kB / 1.188 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/2.368, allocations: 0 / 1.188 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.02109/2.389, allocations: 12.15 MB / 1.2 GB, free: 143.7 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)