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.0009949/0.000995, allocations: 89.39 kB / 16.67 MB, free: 6.594 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.001026/0.001026, allocations: 183 kB / 17.58 MB, free: 6.188 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.415/1.415, allocations: 223.3 MB / 241.6 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7563/0.7563, allocations: 115.5 MB / 408.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4375, allocations: 77.52 MB / 0.5606 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.07117/0.5087, allocations: 78.92 MB / 0.6376 GB, free: 4.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03666/0.5454, allocations: 20.96 MB / 0.6581 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006215/0.5517, allocations: 95.38 kB / 0.6582 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01201/0.5637, allocations: 4.159 MB / 0.6623 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.5754, allocations: 2.651 MB / 0.6648 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006638/0.582, allocations: 2.211 MB / 0.667 GB, free: 6.148 MB / 0.4981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02869/0.6107, allocations: 23.74 MB / 0.6902 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01086/0.6216, allocations: 6.008 MB / 0.6961 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/0.6333, allocations: 4.645 MB / 0.7006 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009834/0.6432, allocations: 4.886 MB / 0.7054 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002096/0.6454, allocations: 267.9 kB / 0.7056 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007124/0.6525, allocations: 1.704 MB / 0.7073 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003353/0.6559, allocations: 1.397 MB / 0.7087 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007426/0.6634, allocations: 3.075 MB / 0.7117 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.6747, allocations: 7.314 MB / 0.7188 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6748, allocations: 0 / 0.7188 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.46e-06/0.6748, allocations: 0 / 0.7188 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003802/0.6752, allocations: 3.938 kB / 0.7188 GB, free: 0.8828 MB / 0.545 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.01514/0.6903, allocations: 5.695 MB / 0.7244 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.6904, allocations: 8.031 kB / 0.7244 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005594/0.696, allocations: 0.9801 MB / 0.7253 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01468/0.7107, allocations: 6.279 MB / 0.7315 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000393/0.7112, allocations: 263.1 kB / 0.7317 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/0.7126, allocations: 351.9 kB / 0.732 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.727, allocations: 5.745 MB / 0.7377 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.7272, allocations: 19.86 kB / 0.7377 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008641/0.728, allocations: 144 kB / 0.7378 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.7282, allocations: 114 kB / 0.7379 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.7397, allocations: 5.601 MB / 0.7434 GB, free: 7.266 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.3323/1.072, allocations: 24.32 MB / 0.7671 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005886/1.078, allocations: 2.791 MB / 0.7699 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003553/1.082, allocations: 1.923 MB / 0.7718 GB, free: 146 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01524/1.097, allocations: 7.165 MB / 0.7787 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0032/1.1, allocations: 1.93 MB / 0.7806 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005136/1.105, allocations: 1.263 MB / 0.7819 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=155): time 1.531e-05/1.105, allocations: 0 / 0.7819 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=155): time 0.0236/1.129, allocations: 7.68 MB / 0.7894 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/1.129, allocations: 72.66 kB / 0.7894 GB, free: 137.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/1.141, allocations: 5.474 MB / 0.7948 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007996/1.141, allocations: 61.55 kB / 0.7948 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002651/1.144, allocations: 2.605 MB / 0.7974 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/1.145, allocations: 0.5599 MB / 0.7979 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008167/1.146, allocations: 286.1 kB / 0.7982 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.128e-05/1.146, allocations: 312.5 kB / 0.7985 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003395/1.149, allocations: 1.856 MB / 0.8003 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004015/1.154, allocations: 3.134 MB / 0.8034 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006652/1.16, allocations: 4.941 MB / 0.8082 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-05/1.16, allocations: 11.22 kB / 0.8082 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01259/1.173, allocations: 6.574 MB / 0.8146 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006099/1.174, allocations: 1.134 MB / 0.8157 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.756e-05/1.174, allocations: 32 kB / 0.8158 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06756/1.241, allocations: 11.9 MB / 0.8274 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/1.244, allocations: 0.7253 MB / 0.8281 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006979/1.251, allocations: 5.037 MB / 0.833 GB, free: 98.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005527/1.257, allocations: 361 kB / 0.8334 GB, free: 98.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005449/1.257, allocations: 171.9 kB / 0.8335 GB, free: 98.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.257, allocations: 2.188 kB / 0.8335 GB, free: 98.33 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007963/1.265, allocations: 5.843 MB / 0.8392 GB, free: 92.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.982e-05/1.265, allocations: 32 kB / 0.8393 GB, free: 92.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06833/1.334, allocations: 11.66 MB / 0.8507 GB, free: 80.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/1.337, allocations: 0.7182 MB / 0.8514 GB, free: 80.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009831/1.347, allocations: 8.038 MB / 0.8592 GB, free: 71.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005354/1.352, allocations: 346.5 kB / 0.8595 GB, free: 71.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006671/1.353, allocations: 167.9 kB / 0.8597 GB, free: 71.26 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * 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 (319): * Single equations (assignments): 313 * 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,13), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.003744/1.357, allocations: 1.675 MB / 0.8613 GB, free: 69.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/1.358, allocations: 0.49 MB / 0.8618 GB, free: 69.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007887/1.366, allocations: 4.886 MB / 0.8666 GB, free: 64.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/1.366, allocations: 19.94 kB / 0.8666 GB, free: 64.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/1.366, allocations: 0 / 0.8666 GB, free: 64.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01052/1.377, allocations: 6.432 MB / 0.8729 GB, free: 57.48 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 postOpt removeSimpleEquations (simulation): time 0.0297/1.407, allocations: 13.22 MB / 0.8858 GB, free: 44.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/1.407, allocations: 0 / 0.8858 GB, free: 44.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/1.409, allocations: 375.5 kB / 0.8862 GB, free: 43.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06672/1.476, allocations: 11.89 MB / 0.8978 GB, free: 31.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004959/1.476, allocations: 47.97 kB / 0.8978 GB, free: 31.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005825/1.482, allocations: 4.375 MB / 0.9021 GB, free: 27.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.482, allocations: 0 / 0.9021 GB, free: 27.47 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02422/1.506, allocations: 9.774 MB / 0.9116 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003647/1.51, allocations: 1.123 MB / 0.9127 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001383/1.512, allocations: 35.94 kB / 0.9128 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004176/1.516, allocations: 275.2 kB / 0.913 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000352/1.516, allocations: 105.2 kB / 0.9131 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/1.516, allocations: 83.92 kB / 0.9132 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005375/1.522, allocations: 3.73 MB / 0.9168 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.42e-07/1.522, allocations: 0 / 0.9168 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009958/1.532, allocations: 2.826 MB / 0.9196 GB, free: 9.523 MB / 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 (127): * Single equations (assignments): 118 * 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 {(10,3), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002036/1.534, allocations: 0.6519 MB / 0.9202 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01585/1.55, allocations: 8.044 MB / 0.9281 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/1.55, allocations: 7.938 kB / 0.9281 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005965/1.556, allocations: 2.515 MB / 0.9306 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01712/1.573, allocations: 2.898 MB / 0.9334 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0235/1.596, allocations: 12.86 MB / 0.9459 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003358/1.6, allocations: 3.388 MB / 0.9493 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/1.602, allocations: 399.3 kB / 0.9496 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of SimCode: time 2.655e-06/1.602, allocations: 0 / 0.9496 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.5139/2.116, allocations: 173.2 MB / 1.119 GB, free: 102.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)