Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.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.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8866/0.8866, allocations: 127.4 MB / 134.9 MB, free: 3.449 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.001102/0.001102, allocations: 185.8 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.715/1.715, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.001006/0.001006, allocations: 86.11 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.834e-05, allocations: 2.5 kB / 0.5466 GB, free: 95.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1607, allocations: 76.75 MB / 0.6215 GB, free: 43.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.391, allocations: 388.2 MB / 1.001 GB, free: 241.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.392, allocations: 89.64 kB / 1.001 GB, free: 241.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.486/6.878, allocations: 1.453 GB / 2.453 GB, free: 63.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.833e-06/6.878, allocations: 0 / 2.453 GB, free: 63.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001343/6.879, allocations: 161.8 kB / 2.453 GB, free: 63.7 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: 832 * Number of variables: 832 Notification: Performance of Generate backend data structure: time 0.01785/6.897, allocations: 4.561 MB / 2.458 GB, free: 60.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/6.897, allocations: 10.75 kB / 2.458 GB, free: 60.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00631/6.903, allocations: 0.839 MB / 2.459 GB, free: 60.42 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0259/6.929, allocations: 7.821 MB / 2.466 GB, free: 55.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/6.93, allocations: 109.3 kB / 2.466 GB, free: 55.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/6.932, allocations: 211.3 kB / 2.467 GB, free: 55.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01407/6.946, allocations: 4.628 MB / 2.471 GB, free: 53.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/6.961, allocations: 4.751 MB / 2.476 GB, free: 50.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000233/6.961, allocations: 10.88 kB / 2.476 GB, free: 50.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0014/6.963, allocations: 14.22 kB / 2.476 GB, free: 50.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-05/6.963, allocations: 81.75 kB / 2.476 GB, free: 50.71 MB / 0.6823 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.0394/7.002, allocations: 21.88 MB / 2.497 GB, free: 28.58 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/7.006, allocations: 2.508 MB / 2.5 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002031/7.008, allocations: 1.622 MB / 2.501 GB, free: 24.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/7.022, allocations: 6.062 MB / 2.507 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002482/7.025, allocations: 1.67 MB / 2.509 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006709/7.032, allocations: 1.957 MB / 2.511 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=154): time 1.327e-05/7.032, allocations: 0 / 2.511 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=154): time 0.0192/7.051, allocations: 5.436 MB / 2.516 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/7.051, allocations: 145.8 kB / 2.516 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008462/7.059, allocations: 3.751 MB / 2.52 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007482/7.06, allocations: 33.7 kB / 2.52 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002723/7.063, allocations: 2.484 MB / 2.522 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/7.064, allocations: 0.5276 MB / 2.523 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004736/7.065, allocations: 0 / 2.523 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000209/7.065, allocations: 411.4 kB / 2.523 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/7.067, allocations: 1.469 MB / 2.525 GB, free: 184 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6014/7.668, allocations: 2.719 MB / 2.527 GB, free: 70.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009659/7.678, allocations: 2.51 MB / 2.53 GB, free: 70.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.18e-05/7.678, allocations: 10.53 kB / 2.53 GB, free: 70.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.04688/7.725, allocations: 9.518 MB / 2.539 GB, free: 69.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.003448/7.729, allocations: 15.27 MB / 2.554 GB, free: 53.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/7.729, allocations: 34.66 kB / 2.554 GB, free: 53.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03293/7.762, allocations: 6.346 MB / 2.56 GB, free: 53.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003197/7.765, allocations: 0.6894 MB / 2.561 GB, free: 53.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/7.778, allocations: 5.816 MB / 2.567 GB, free: 52.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006143/7.785, allocations: 266.5 kB / 2.567 GB, free: 52.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009255/7.786, allocations: 166.1 kB / 2.567 GB, free: 52.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/7.786, allocations: 5.031 kB / 2.567 GB, free: 52.36 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03646/7.822, allocations: 8.199 MB / 2.575 GB, free: 52.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001661/7.822, allocations: 38.39 kB / 2.575 GB, free: 52.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03255/7.855, allocations: 6.099 MB / 2.581 GB, free: 52.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/7.858, allocations: 0.6933 MB / 2.582 GB, free: 52.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/7.871, allocations: 7.902 MB / 2.589 GB, free: 49.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005426/7.877, allocations: 228.4 kB / 2.59 GB, free: 49.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007411/7.877, allocations: 156.5 kB / 2.59 GB, free: 49.01 MB / 0.6823 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 () * 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.001189/7.879, allocations: 201.4 kB / 2.59 GB, free: 48.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/7.88, allocations: 436.5 kB / 2.59 GB, free: 48.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03039/7.911, allocations: 7.349 MB / 2.598 GB, free: 48.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.131e-05/7.911, allocations: 17.5 kB / 2.598 GB, free: 48.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/7.911, allocations: 2.438 kB / 2.598 GB, free: 48.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01604/7.927, allocations: 6.425 MB / 2.604 GB, free: 47.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03956/7.966, allocations: 13.47 MB / 2.617 GB, free: 46.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/7.966, allocations: 0 / 2.617 GB, free: 46.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/7.969, allocations: 419.2 kB / 2.617 GB, free: 46.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004873/7.974, allocations: 2.599 MB / 2.62 GB, free: 46.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005629/7.975, allocations: 37.64 kB / 2.62 GB, free: 46.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02618/8.001, allocations: 10.24 MB / 2.63 GB, free: 42.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/8.001, allocations: 0 / 2.63 GB, free: 42.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03216/8.033, allocations: 10.39 MB / 2.64 GB, free: 42.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006571/8.04, allocations: 1.024 MB / 2.641 GB, free: 42.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003007/8.043, allocations: 13.83 kB / 2.641 GB, free: 42.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005727/8.048, allocations: 251.4 kB / 2.641 GB, free: 42.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006422/8.049, allocations: 122.8 kB / 2.641 GB, free: 42.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003595/8.049, allocations: 85.31 kB / 2.642 GB, free: 42.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.005063/8.055, allocations: 2.83 MB / 2.644 GB, free: 41.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/8.055, allocations: 0 / 2.644 GB, free: 41.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01394/8.069, allocations: 2.688 MB / 2.647 GB, free: 41.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003101/8.072, allocations: 1.192 MB / 2.648 GB, free: 41.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01988/8.092, allocations: 7.321 MB / 2.655 GB, free: 41.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.861e-05/8.092, allocations: 2.531 kB / 2.655 GB, free: 41.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.009694/8.101, allocations: 2.979 MB / 2.658 GB, free: 40.78 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01464/8.116, allocations: 2.248 MB / 2.66 GB, free: 40.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02093/8.137, allocations: 8.02 MB / 2.668 GB, free: 39.19 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/8.14, allocations: 3.318 MB / 2.671 GB, free: 38.35 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.01059/8.151, allocations: 2.841 MB / 2.674 GB, free: 38.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/8.152, allocations: 244.8 kB / 2.674 GB, free: 38.09 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/8.152, allocations: 7.562 kB / 2.674 GB, free: 38.08 MB / 0.6823 GB Notification: Performance of Templates: time 0.1852/8.337, allocations: 109.3 MB / 2.781 GB, free: 7.836 MB / 0.7136 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)