Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.775/1.775, allocations: 287.5 MB / 302.6 MB, free: 8.215 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.001281/0.001281, allocations: 178.2 kB / 371.2 MB, free: 10.82 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.832/1.832, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 98.5 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004222, allocations: 15.73 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2386, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.06854/0.3072, allocations: 74.43 MB / 1.051 GB, free: 1.566 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.5259/0.8331, allocations: 20.96 MB / 1.072 GB, free: 18.18 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004598/0.8378, allocations: 93.25 kB / 1.072 GB, free: 18.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003537/0.8413, allocations: 0.8081 MB / 1.073 GB, free: 18.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008271/0.8496, allocations: 2.275 MB / 1.075 GB, free: 18.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009611/0.8593, allocations: 2.817 MB / 1.078 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02616/0.8854, allocations: 17.56 MB / 1.095 GB, free: 17.09 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01191/0.8974, allocations: 5.96 MB / 1.101 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01319/0.9106, allocations: 4.621 MB / 1.105 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01187/0.9226, allocations: 4.575 MB / 1.11 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003118/0.9257, allocations: 268.6 kB / 1.11 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009128/0.9349, allocations: 1.332 MB / 1.111 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004065/0.939, allocations: 1.219 MB / 1.112 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005151/0.9442, allocations: 1.104 MB / 1.113 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.9573, allocations: 6.884 MB / 1.12 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.9573, allocations: 0 / 1.12 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9573, allocations: 0 / 1.12 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005783/0.9579, allocations: 0 / 1.12 GB, free: 10.91 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.01891/0.9768, allocations: 5.366 MB / 1.125 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/0.9769, allocations: 13.41 kB / 1.125 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006183/0.9831, allocations: 0.8361 MB / 1.126 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01687/1, allocations: 5.205 MB / 1.131 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000323/1, allocations: 262.4 kB / 1.132 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/1.002, allocations: 340.4 kB / 1.132 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/1.018, allocations: 5.734 MB / 1.137 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001766/1.019, allocations: 11.22 kB / 1.137 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001613/1.02, allocations: 147.2 kB / 1.138 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.182e-05/1.02, allocations: 81.53 kB / 1.138 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/1.033, allocations: 5.553 MB / 1.143 GB, free: 2.008 MB / 0.6823 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.04619/1.079, allocations: 24.01 MB / 1.167 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005806/1.085, allocations: 2.799 MB / 1.169 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003339/1.088, allocations: 1.932 MB / 1.171 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/1.104, allocations: 7.145 MB / 1.178 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003591/1.108, allocations: 1.945 MB / 1.18 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005815/1.113, allocations: 1.25 MB / 1.181 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=155): time 1.824e-05/1.114, allocations: 0 / 1.181 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=155): time 0.0229/1.136, allocations: 7.662 MB / 1.189 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/1.137, allocations: 145.8 kB / 1.189 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/1.148, allocations: 4.848 MB / 1.194 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008463/1.149, allocations: 69.7 kB / 1.194 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003391/1.152, allocations: 2.455 MB / 1.196 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.153, allocations: 0.5488 MB / 1.197 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005861/1.154, allocations: 52 kB / 1.197 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003016/1.154, allocations: 411.4 kB / 1.197 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003604/1.158, allocations: 1.66 MB / 1.199 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00462/1.163, allocations: 2.893 MB / 1.202 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007627/1.17, allocations: 4.558 MB / 1.206 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.919e-05/1.17, allocations: 8 kB / 1.206 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.0138/1.184, allocations: 6.021 MB / 1.212 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009945/1.185, allocations: 1.107 MB / 1.213 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.346e-05/1.185, allocations: 32 kB / 1.213 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06677/1.252, allocations: 11.87 MB / 1.225 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/1.256, allocations: 0.6669 MB / 1.225 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009684/1.265, allocations: 5.045 MB / 1.23 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006779/1.272, allocations: 343.7 kB / 1.23 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009357/1.273, allocations: 159.9 kB / 1.231 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.273, allocations: 4 kB / 1.231 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01127/1.285, allocations: 5.376 MB / 1.236 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/1.285, allocations: 32.08 kB / 1.236 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06458/1.349, allocations: 11.68 MB / 1.247 GB, free: 8.469 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/1.352, allocations: 0.6493 MB / 1.248 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/1.365, allocations: 8.067 MB / 1.256 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006203/1.371, allocations: 334.2 kB / 1.256 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008478/1.372, allocations: 155.9 kB / 1.256 GB, free: 14.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.005169/1.377, allocations: 1.546 MB / 1.258 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002214/1.38, allocations: 462.3 kB / 1.258 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/1.391, allocations: 4.866 MB / 1.263 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.204e-05/1.391, allocations: 20 kB / 1.263 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.391, allocations: 4 kB / 1.263 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02061/1.412, allocations: 7 MB / 1.27 GB, free: 0.8047 MB / 0.8073 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 postOpt removeSimpleEquations (simulation): time 0.03938/1.451, allocations: 13.22 MB / 1.283 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/1.452, allocations: 4 kB / 1.283 GB, free: 3.512 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/1.454, allocations: 371.6 kB / 1.283 GB, free: 3.148 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06626/1.52, allocations: 11.89 MB / 1.295 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007124/1.521, allocations: 51.89 kB / 1.295 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007754/1.529, allocations: 4.377 MB / 1.299 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.529, allocations: 3.984 kB / 1.299 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02818/1.557, allocations: 9.74 MB / 1.309 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005085/1.562, allocations: 1.069 MB / 1.31 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00275/1.565, allocations: 28 kB / 1.31 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00582/1.571, allocations: 279.2 kB / 1.31 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00071/1.572, allocations: 111.7 kB / 1.31 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006615/1.572, allocations: 75.94 kB / 1.31 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.008684/1.581, allocations: 3.31 MB / 1.313 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.004e-06/1.581, allocations: 4 kB / 1.313 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01514/1.596, allocations: 2.71 MB / 1.316 GB, free: 1.422 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * 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 (127): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00248/1.599, allocations: 0.5363 MB / 1.317 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0202/1.619, allocations: 7.575 MB / 1.324 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/1.619, allocations: 0.8906 kB / 1.324 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006779/1.626, allocations: 2.524 MB / 1.326 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02175/1.648, allocations: 2.737 MB / 1.329 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02874/1.677, allocations: 11.44 MB / 1.34 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005819/1.682, allocations: 3.216 MB / 1.343 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00914/1.692, allocations: 1.699 MB / 1.345 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/1.694, allocations: 351.3 kB / 1.345 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of SimCode: time 5.71e-07/1.694, allocations: 0 / 1.345 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of Templates: time 0.6222/2.316, allocations: 107.3 MB / 1.45 GB, free: 350.9 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)