Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 112.2 kB / 17.04 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 195 kB / 17.98 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7202/0.7202, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.307, allocations: 76.14 MB / 0.5576 GB, free: 36.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.06818/0.3752, allocations: 80.96 MB / 0.6366 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03121/0.4065, allocations: 21.04 MB / 0.6572 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.4102, allocations: 107.4 kB / 0.6573 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.008935/0.4192, allocations: 4.395 MB / 0.6616 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007697/0.4269, allocations: 2.852 MB / 0.6644 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00597/0.4329, allocations: 2.45 MB / 0.6667 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02139/0.4543, allocations: 18.31 MB / 0.6846 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009533/0.4639, allocations: 7.202 MB / 0.6917 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01104/0.475, allocations: 5.816 MB / 0.6973 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008265/0.4832, allocations: 5.097 MB / 0.7023 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001886/0.4852, allocations: 0.5469 MB / 0.7029 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005748/0.4909, allocations: 1.978 MB / 0.7048 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002709/0.4937, allocations: 1.752 MB / 0.7065 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005663/0.4993, allocations: 3.472 MB / 0.7099 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.5104, allocations: 9.632 MB / 0.7193 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.5105, allocations: 0 / 0.7193 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5105, allocations: 0 / 0.7193 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001932/0.5107, allocations: 0 / 0.7193 GB, free: 14.65 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.01379/0.5245, allocations: 6.894 MB / 0.726 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.5245, allocations: 12.03 kB / 0.726 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004392/0.5289, allocations: 0.9449 MB / 0.727 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.541, allocations: 6.372 MB / 0.7332 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.5413, allocations: 262.6 kB / 0.7334 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007585/0.542, allocations: 344 kB / 0.7338 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.5522, allocations: 5.731 MB / 0.7394 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.202e-05/0.5523, allocations: 11.88 kB / 0.7394 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004867/0.5528, allocations: 144 kB / 0.7395 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.5529, allocations: 114 kB / 0.7396 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009964/0.5629, allocations: 5.562 MB / 0.745 GB, free: 3.828 MB / 0.5762 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.2734/0.8363, allocations: 24.08 MB / 0.7686 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005651/0.842, allocations: 2.76 MB / 0.7713 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003158/0.8452, allocations: 1.901 MB / 0.7731 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01422/0.8594, allocations: 7.158 MB / 0.7801 GB, free: 144 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003209/0.8627, allocations: 1.919 MB / 0.782 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003426/0.8661, allocations: 0.718 MB / 0.7827 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=154): time 1.131e-05/0.8661, allocations: 0 / 0.7827 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=154): time 0.02456/0.8907, allocations: 8.015 MB / 0.7905 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.8908, allocations: 71.91 kB / 0.7906 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009147/0.8999, allocations: 5.592 MB / 0.796 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006763/0.9006, allocations: 64.02 kB / 0.7961 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002074/0.9027, allocations: 2.6 MB / 0.7986 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009444/0.9037, allocations: 0.5528 MB / 0.7992 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00173/0.9054, allocations: 0.767 MB / 0.7999 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.9055, allocations: 309.1 kB / 0.8002 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002891/0.9084, allocations: 1.908 MB / 0.8021 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003294/0.9117, allocations: 3.149 MB / 0.8052 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006123/0.9178, allocations: 5.029 MB / 0.8101 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.906e-05/0.9179, allocations: 8 kB / 0.8101 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01148/0.9294, allocations: 6.8 MB / 0.8167 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/0.9295, allocations: 49.69 kB / 0.8168 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.39e-05/0.9295, allocations: 39.66 kB / 0.8168 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07524/1.005, allocations: 13.53 MB / 0.83 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/1.008, allocations: 0.7059 MB / 0.8307 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008695/1.017, allocations: 5.477 MB / 0.8361 GB, free: 97.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004912/1.022, allocations: 239.7 kB / 0.8363 GB, free: 97.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007073/1.022, allocations: 211.8 kB / 0.8365 GB, free: 97.22 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005163/1.027, allocations: 3.265 MB / 0.8397 GB, free: 93.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003326/1.031, allocations: 3.109 MB / 0.8427 GB, free: 90.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005699/1.036, allocations: 4.921 MB / 0.8475 GB, free: 84.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-05/1.037, allocations: 12 kB / 0.8475 GB, free: 84.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01044/1.047, allocations: 6.508 MB / 0.8539 GB, free: 78.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/1.047, allocations: 49.69 kB / 0.8539 GB, free: 78.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/1.047, allocations: 36.16 kB / 0.854 GB, free: 78.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07277/1.12, allocations: 13.31 MB / 0.867 GB, free: 64.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/1.123, allocations: 0.6981 MB / 0.8677 GB, free: 64.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.135, allocations: 8.898 MB / 0.8763 GB, free: 55.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006014/1.141, allocations: 244.2 kB / 0.8766 GB, free: 54.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008033/1.141, allocations: 195.9 kB / 0.8768 GB, free: 54.62 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 311 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,15), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.00128/1.143, allocations: 384.2 kB / 0.8771 GB, free: 54.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001999/1.145, allocations: 0.49 MB / 0.8776 GB, free: 53.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009365/1.154, allocations: 4.578 MB / 0.8821 GB, free: 49.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/1.154, allocations: 20 kB / 0.8821 GB, free: 49.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.154, allocations: 0 / 0.8821 GB, free: 49.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00951/1.164, allocations: 5.664 MB / 0.8876 GB, free: 43.22 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02725/1.191, allocations: 10.92 MB / 0.8983 GB, free: 32.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/1.191, allocations: 4 kB / 0.8983 GB, free: 32.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/1.193, allocations: 379.5 kB / 0.8987 GB, free: 31.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06585/1.259, allocations: 11.7 MB / 0.9101 GB, free: 20.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004754/1.26, allocations: 47.95 kB / 0.9101 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005148/1.265, allocations: 3.553 MB / 0.9136 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.265, allocations: 0 / 0.9136 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01902/1.284, allocations: 8.105 MB / 0.9215 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003304/1.287, allocations: 0.9751 MB / 0.9225 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001516/1.289, allocations: 39.88 kB / 0.9225 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003677/1.293, allocations: 155.8 kB / 0.9227 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004501/1.293, allocations: 105.8 kB / 0.9228 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003658/1.293, allocations: 91.86 kB / 0.9228 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006194/1.3, allocations: 3.812 MB / 0.9266 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.42e-07/1.3, allocations: 0 / 0.9266 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009622/1.309, allocations: 2.792 MB / 0.9293 GB, free: 484 kB / 0.5762 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.s[1],val.filter.s[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 (134): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,5), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001901/1.311, allocations: 0.6733 MB / 0.9299 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02023/1.331, allocations: 7.943 MB / 0.9377 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.332, allocations: 8.812 kB / 0.9377 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005982/1.338, allocations: 2.306 MB / 0.94 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01381/1.351, allocations: 2.9 MB / 0.9428 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/1.373, allocations: 10.75 MB / 0.9533 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004138/1.377, allocations: 3.423 MB / 0.9566 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006425/1.383, allocations: 1.746 MB / 0.9583 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/1.385, allocations: 379.2 kB / 0.9587 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/1.385, allocations: 4 kB / 0.9587 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.3944/1.779, allocations: 118.3 MB / 1.074 GB, free: 158.8 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)