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.001123/0.001123, allocations: 115.1 kB / 17.04 MB, free: 5.793 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.001153/0.001153, allocations: 195 kB / 17.98 MB, free: 5.02 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.276/1.276, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6871/0.6871, allocations: 115.1 MB / 407 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 59.91 kB / 494.8 MB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3198, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.06758/0.3875, allocations: 80.96 MB / 0.6366 GB, free: 3.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02813/0.4156, allocations: 21.04 MB / 0.6572 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004391/0.4201, allocations: 111.4 kB / 0.6573 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.008962/0.4291, allocations: 4.389 MB / 0.6616 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007986/0.4371, allocations: 2.848 MB / 0.6644 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00598/0.4431, allocations: 2.434 MB / 0.6667 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02/0.4631, allocations: 18.32 MB / 0.6846 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008674/0.4718, allocations: 7.218 MB / 0.6917 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01225/0.4841, allocations: 5.808 MB / 0.6973 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009175/0.4933, allocations: 5.101 MB / 0.7023 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001808/0.4951, allocations: 0.543 MB / 0.7029 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005399/0.5005, allocations: 1.974 MB / 0.7048 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.5025, allocations: 1.752 MB / 0.7065 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004636/0.5072, allocations: 3.476 MB / 0.7099 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009746/0.5169, allocations: 9.632 MB / 0.7193 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.517, allocations: 0 / 0.7193 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.486e-06/0.517, allocations: 0 / 0.7193 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001481/0.5171, allocations: 3.938 kB / 0.7193 GB, free: 14.51 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.01183/0.529, allocations: 6.89 MB / 0.726 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.529, allocations: 19.97 kB / 0.726 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003845/0.5329, allocations: 0.9449 MB / 0.727 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.5441, allocations: 6.361 MB / 0.7332 GB, free: 108 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.5443, allocations: 262.6 kB / 0.7334 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008113/0.5451, allocations: 336 kB / 0.7338 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009238/0.5544, allocations: 5.739 MB / 0.7394 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.305e-05/0.5545, allocations: 15.81 kB / 0.7394 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003899/0.5549, allocations: 144 kB / 0.7395 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-05/0.555, allocations: 114 kB / 0.7396 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008864/0.5639, allocations: 5.573 MB / 0.7451 GB, free: 3.676 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.2597/0.8236, allocations: 24.08 MB / 0.7686 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005354/0.829, allocations: 2.76 MB / 0.7713 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003092/0.8321, allocations: 1.897 MB / 0.7731 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01419/0.8463, allocations: 7.157 MB / 0.7801 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002998/0.8493, allocations: 1.919 MB / 0.782 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003424/0.8528, allocations: 0.7155 MB / 0.7827 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=154): time 9.889e-06/0.8528, allocations: 0 / 0.7827 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=154): time 0.02265/0.8754, allocations: 8.022 MB / 0.7905 GB, free: 137.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.8755, allocations: 71.95 kB / 0.7906 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008123/0.8836, allocations: 5.593 MB / 0.796 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004839/0.8841, allocations: 64.11 kB / 0.7961 GB, free: 134.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00184/0.886, allocations: 2.602 MB / 0.7986 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007008/0.8867, allocations: 0.5559 MB / 0.7992 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.8879, allocations: 0.7645 MB / 0.7999 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.8879, allocations: 309 kB / 0.8002 GB, free: 131 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0025/0.8904, allocations: 1.907 MB / 0.8021 GB, free: 130 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002846/0.8933, allocations: 3.152 MB / 0.8052 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005248/0.8985, allocations: 5.03 MB / 0.8101 GB, free: 122.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-05/0.8986, allocations: 11.94 kB / 0.8101 GB, free: 122.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.009986/0.9086, allocations: 6.786 MB / 0.8167 GB, free: 115.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.176e-05/0.9087, allocations: 49.69 kB / 0.8168 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-05/0.9087, allocations: 39.98 kB / 0.8168 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06819/0.9769, allocations: 13.54 MB / 0.83 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/0.9795, allocations: 0.7059 MB / 0.8307 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007585/0.9871, allocations: 5.474 MB / 0.8361 GB, free: 95.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004372/0.9915, allocations: 235.8 kB / 0.8363 GB, free: 95.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005238/0.9921, allocations: 211.8 kB / 0.8365 GB, free: 95.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004362/0.9964, allocations: 3.261 MB / 0.8397 GB, free: 92.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002636/0.9991, allocations: 3.109 MB / 0.8427 GB, free: 88.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004717/1.004, allocations: 4.923 MB / 0.8475 GB, free: 83.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.261e-05/1.004, allocations: 12 kB / 0.8475 GB, free: 83.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.00849/1.012, allocations: 6.506 MB / 0.8539 GB, free: 76.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/1.012, allocations: 45.7 kB / 0.8539 GB, free: 76.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/1.012, allocations: 36.83 kB / 0.854 GB, free: 76.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06605/1.078, allocations: 13.31 MB / 0.867 GB, free: 63.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/1.081, allocations: 0.6981 MB / 0.8676 GB, free: 62.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/1.091, allocations: 8.91 MB / 0.8763 GB, free: 53.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/1.096, allocations: 240.3 kB / 0.8766 GB, free: 53.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005767/1.097, allocations: 207.8 kB / 0.8768 GB, free: 52.8 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.001102/1.098, allocations: 385.5 kB / 0.8771 GB, free: 52.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/1.099, allocations: 0.49 MB / 0.8776 GB, free: 51.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006784/1.106, allocations: 4.575 MB / 0.8821 GB, free: 47.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/1.106, allocations: 28 kB / 0.8821 GB, free: 47.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/1.106, allocations: 0 / 0.8821 GB, free: 47.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00851/1.115, allocations: 5.652 MB / 0.8876 GB, free: 41.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02359/1.138, allocations: 10.92 MB / 0.8983 GB, free: 30.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.138, allocations: 4 kB / 0.8983 GB, free: 30.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/1.14, allocations: 375.6 kB / 0.8987 GB, free: 30.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0601/1.2, allocations: 11.7 MB / 0.9101 GB, free: 18.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004457/1.201, allocations: 51.89 kB / 0.9101 GB, free: 18.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004604/1.206, allocations: 3.551 MB / 0.9136 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.206, allocations: 0 / 0.9136 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01748/1.223, allocations: 8.109 MB / 0.9215 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003254/1.226, allocations: 0.979 MB / 0.9225 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001573/1.228, allocations: 36.05 kB / 0.9225 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003448/1.231, allocations: 155.7 kB / 0.9227 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003833/1.232, allocations: 109.8 kB / 0.9228 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002563/1.232, allocations: 83.92 kB / 0.9228 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004604/1.237, allocations: 3.812 MB / 0.9266 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.237, allocations: 0 / 0.9266 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007628/1.244, allocations: 2.797 MB / 0.9293 GB, free: 14.66 MB / 0.5919 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.001521/1.246, allocations: 0.6653 MB / 0.9299 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01767/1.264, allocations: 7.953 MB / 0.9377 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.264, allocations: 6 kB / 0.9377 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005234/1.269, allocations: 2.293 MB / 0.94 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01124/1.28, allocations: 2.908 MB / 0.9428 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/1.298, allocations: 10.76 MB / 0.9533 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/1.301, allocations: 3.416 MB / 0.9566 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005034/1.306, allocations: 1.742 MB / 0.9583 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.307, allocations: 383.3 kB / 0.9587 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of SimCode: time 8.52e-07/1.307, allocations: 0 / 0.9587 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of Templates: time 0.3697/1.677, allocations: 118.3 MB / 1.074 GB, free: 155.9 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)