Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7546/0.7546, allocations: 127.4 MB / 134.9 MB, free: 3.496 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 178.7 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.2 MB / 399.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000876/0.000876, allocations: 90.72 kB / 476.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.737e-05/1.739e-05, allocations: 5.25 kB / 0.5466 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 76.76 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6472/0.7834, allocations: 348.8 MB / 0.9621 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.7837, allocations: 87.48 kB / 0.9622 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7685/1.552, allocations: 246.5 MB / 1.203 GB, free: 58.06 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.783e-06/1.552, allocations: 3.938 kB / 1.203 GB, free: 58.06 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.901e-05/1.552, allocations: 16 kB / 1.203 GB, free: 58.04 MB / 0.6511 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.001652/1.554, allocations: 0.91 MB / 1.204 GB, free: 57.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.554, allocations: 8.031 kB / 1.204 GB, free: 57.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009023/1.555, allocations: 175.1 kB / 1.204 GB, free: 56.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02159/1.577, allocations: 11.33 MB / 1.215 GB, free: 45.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/1.577, allocations: 92.59 kB / 1.215 GB, free: 45.31 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/1.577, allocations: 20 kB / 1.215 GB, free: 45.29 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005347/1.578, allocations: 293.5 kB / 1.215 GB, free: 45 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005887/1.578, allocations: 404.7 kB / 1.216 GB, free: 44.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/1.578, allocations: 0 / 1.216 GB, free: 44.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/1.578, allocations: 0 / 1.216 GB, free: 44.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/1.578, allocations: 12 kB / 1.216 GB, free: 44.57 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.002711/1.581, allocations: 2.339 MB / 1.218 GB, free: 42 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/1.581, allocations: 274.9 kB / 1.218 GB, free: 41.72 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/1.582, allocations: 157 kB / 1.219 GB, free: 41.56 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/1.582, allocations: 174.2 kB / 1.219 GB, free: 41.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/1.582, allocations: 233 kB / 1.219 GB, free: 41.11 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=29): time 1.804e-06/1.582, allocations: 0 / 1.219 GB, free: 41.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29): time 0.003745/1.586, allocations: 0.8019 MB / 1.22 GB, free: 40.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/1.586, allocations: 81.11 kB / 1.22 GB, free: 40.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/1.586, allocations: 377.4 kB / 1.22 GB, free: 39.83 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/1.586, allocations: 25.7 kB / 1.22 GB, free: 39.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/1.586, allocations: 292 kB / 1.22 GB, free: 39.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/1.587, allocations: 98.53 kB / 1.221 GB, free: 39.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/1.587, allocations: 4 kB / 1.221 GB, free: 39.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.543e-05/1.587, allocations: 362.7 kB / 1.221 GB, free: 39.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/1.587, allocations: 124 kB / 1.221 GB, free: 38.92 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/1.587, allocations: 231.7 kB / 1.221 GB, free: 38.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/1.587, allocations: 170.5 kB / 1.221 GB, free: 38.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.587, allocations: 0 / 1.221 GB, free: 38.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003193/1.591, allocations: 0.8086 MB / 1.222 GB, free: 37.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/1.591, allocations: 0.7361 MB / 1.223 GB, free: 36.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.591, allocations: 0 / 1.223 GB, free: 36.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/1.591, allocations: 76.81 kB / 1.223 GB, free: 36.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/1.591, allocations: 83.89 kB / 1.223 GB, free: 36.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008237/1.592, allocations: 0.7201 MB / 1.224 GB, free: 35.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006822/1.593, allocations: 83.75 kB / 1.224 GB, free: 35.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/1.593, allocations: 23.98 kB / 1.224 GB, free: 35.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/1.593, allocations: 4 kB / 1.224 GB, free: 35.85 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000803/1.594, allocations: 428.5 kB / 1.224 GB, free: 35.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.594, allocations: 3.984 kB / 1.224 GB, free: 35.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/1.594, allocations: 48.83 kB / 1.224 GB, free: 35.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/1.594, allocations: 88 kB / 1.224 GB, free: 35.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/1.595, allocations: 1.571 MB / 1.226 GB, free: 33.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/1.596, allocations: 63.84 kB / 1.226 GB, free: 33.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/1.596, allocations: 24.17 kB / 1.226 GB, free: 33.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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.0001524/1.596, allocations: 151 kB / 1.226 GB, free: 33.35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-05/1.596, allocations: 63.28 kB / 1.226 GB, free: 33.29 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/1.599, allocations: 0.7453 MB / 1.227 GB, free: 32.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.599, allocations: 12.05 kB / 1.227 GB, free: 32.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/1.599, allocations: 3.984 kB / 1.227 GB, free: 32.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002682/1.602, allocations: 0.9208 MB / 1.228 GB, free: 31.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/1.605, allocations: 1.315 MB / 1.229 GB, free: 30.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.606, allocations: 0 / 1.229 GB, free: 30.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/1.606, allocations: 63.95 kB / 1.229 GB, free: 30.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001438/1.606, allocations: 64.83 kB / 1.229 GB, free: 30.03 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/1.606, allocations: 7.984 kB / 1.229 GB, free: 30.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004728/1.611, allocations: 2.133 MB / 1.231 GB, free: 27.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.611, allocations: 0 / 1.231 GB, free: 27.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/1.614, allocations: 1.019 MB / 1.232 GB, free: 26.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/1.614, allocations: 176.4 kB / 1.233 GB, free: 26.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/1.614, allocations: 8 kB / 1.233 GB, free: 26.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006459/1.615, allocations: 75.83 kB / 1.233 GB, free: 26.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/1.615, allocations: 27.97 kB / 1.233 GB, free: 26.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/1.615, allocations: 11.98 kB / 1.233 GB, free: 26.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003223/1.615, allocations: 298.9 kB / 1.233 GB, free: 26.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.615, allocations: 0 / 1.233 GB, free: 26.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00163/1.617, allocations: 387.3 kB / 1.233 GB, free: 25.74 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0007512/1.618, allocations: 422.7 kB / 1.234 GB, free: 25.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001523/1.619, allocations: 0.8755 MB / 1.235 GB, free: 24.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.619, allocations: 0.625 kB / 1.235 GB, free: 24.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007484/1.62, allocations: 421.7 kB / 1.235 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.621, allocations: 218.5 kB / 1.235 GB, free: 23.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/1.623, allocations: 0.7157 MB / 1.236 GB, free: 23.03 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/1.623, allocations: 0.8904 MB / 1.237 GB, free: 22.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006316/1.624, allocations: 136.1 kB / 1.237 GB, free: 21.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/1.624, allocations: 35.42 kB / 1.237 GB, free: 21.94 MB / 0.6511 GB Notification: Performance of SimCode: time 5.71e-07/1.624, allocations: 0 / 1.237 GB, free: 21.94 MB / 0.6511 GB Notification: Performance of Templates: time 0.01785/1.642, allocations: 12.48 MB / 1.249 GB, free: 9.539 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)