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.001475/0.001475, allocations: 104.2 kB / 16.64 MB, free: 6.816 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.001384/0.001384, allocations: 186 kB / 17.57 MB, free: 5.922 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.426/1.426, allocations: 222.9 MB / 241.3 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7997/0.7997, allocations: 125.3 MB / 416.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.89 kB / 0.4943 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4398, allocations: 78.56 MB / 0.571 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.07559/0.5155, allocations: 80.24 MB / 0.6494 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03554/0.5511, allocations: 20.86 MB / 0.6697 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00563/0.5568, allocations: 99.38 kB / 0.6698 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01056/0.5674, allocations: 4.377 MB / 0.6741 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009642/0.5771, allocations: 2.604 MB / 0.6766 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007227/0.5843, allocations: 2.231 MB / 0.6788 GB, free: 9.246 MB / 0.5137 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.02385/0.6082, allocations: 18 MB / 0.6964 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/0.6194, allocations: 7.151 MB / 0.7034 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01675/0.6361, allocations: 6.024 MB / 0.7093 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/0.6468, allocations: 5.175 MB / 0.7143 GB, free: 4.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002719/0.6496, allocations: 0.5352 MB / 0.7148 GB, free: 4.215 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008219/0.6578, allocations: 1.97 MB / 0.7168 GB, free: 2.242 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00444/0.6623, allocations: 1.748 MB / 0.7185 GB, free: 500 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009744/0.6721, allocations: 3.465 MB / 0.7218 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.6852, allocations: 7.539 MB / 0.7292 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.6852, allocations: 3.938 kB / 0.7292 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.455e-06/0.6852, allocations: 4 kB / 0.7292 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003666/0.6856, allocations: 0 / 0.7292 GB, free: 5.445 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: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.0199/0.7055, allocations: 6.844 MB / 0.7359 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.7056, allocations: 12.03 kB / 0.7359 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0054/0.711, allocations: 0.9372 MB / 0.7368 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.7258, allocations: 6.275 MB / 0.743 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.7262, allocations: 267.1 kB / 0.7432 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.7276, allocations: 336 kB / 0.7435 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.7412, allocations: 5.722 MB / 0.7491 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-05/0.7413, allocations: 11.88 kB / 0.7491 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005703/0.7419, allocations: 144 kB / 0.7493 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.599e-05/0.742, allocations: 80 kB / 0.7493 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3387/1.081, allocations: 5.568 MB / 0.7548 GB, free: 156.3 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.03653/1.117, allocations: 24.8 MB / 0.779 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005072/1.122, allocations: 2.766 MB / 0.7817 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002759/1.125, allocations: 1.903 MB / 0.7836 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/1.137, allocations: 7.089 MB / 0.7905 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002927/1.14, allocations: 1.926 MB / 0.7924 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004603/1.144, allocations: 1.055 MB / 0.7934 GB, free: 129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=153): time 1.025e-05/1.144, allocations: 0 / 0.7934 GB, free: 129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=153): time 0.02212/1.166, allocations: 8.045 MB / 0.8012 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/1.167, allocations: 72.72 kB / 0.8013 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007221/1.174, allocations: 5.432 MB / 0.8066 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006643/1.174, allocations: 69.08 kB / 0.8067 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001882/1.176, allocations: 2.584 MB / 0.8092 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000807/1.177, allocations: 0.5466 MB / 0.8097 GB, free: 113.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/1.178, allocations: 0.7679 MB / 0.8105 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.452e-05/1.178, allocations: 305.1 kB / 0.8108 GB, free: 112.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/1.181, allocations: 1.914 MB / 0.8126 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003111/1.184, allocations: 3.17 MB / 0.8157 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005602/1.19, allocations: 5.028 MB / 0.8207 GB, free: 101 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/1.19, allocations: 8 kB / 0.8207 GB, free: 101 MB / 0.5762 GB Notification: Performance of matching and sorting (n=399) (initialization): time 0.01208/1.202, allocations: 6.948 MB / 0.8274 GB, free: 94.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.327e-05/1.202, allocations: 49.95 kB / 0.8275 GB, free: 93.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-05/1.202, allocations: 40 kB / 0.8275 GB, free: 93.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07412/1.276, allocations: 13.67 MB / 0.8409 GB, free: 80.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/1.279, allocations: 0.6903 MB / 0.8416 GB, free: 79.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008267/1.287, allocations: 5.553 MB / 0.847 GB, free: 74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005451/1.293, allocations: 351.5 kB / 0.8473 GB, free: 73.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004827/1.293, allocations: 203.8 kB / 0.8475 GB, free: 73.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004647/1.298, allocations: 3.274 MB / 0.8507 GB, free: 70.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002865/1.301, allocations: 3.104 MB / 0.8537 GB, free: 66.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005138/1.306, allocations: 4.927 MB / 0.8585 GB, free: 61.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.692e-05/1.306, allocations: 12 kB / 0.8586 GB, free: 61.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=399) (initialization_lambda0): time 0.01021/1.316, allocations: 6.621 MB / 0.865 GB, free: 54.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/1.316, allocations: 49.88 kB / 0.8651 GB, free: 54.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/1.316, allocations: 40 kB / 0.8651 GB, free: 54.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07241/1.389, allocations: 13.42 MB / 0.8782 GB, free: 40.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/1.391, allocations: 0.6864 MB / 0.8789 GB, free: 40.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/1.403, allocations: 8.976 MB / 0.8877 GB, free: 31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005526/1.408, allocations: 368.4 kB / 0.888 GB, free: 30.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005842/1.409, allocations: 195.8 kB / 0.8882 GB, free: 30.45 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 (313): * Single equations (assignments): 307 * 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 {(12,15), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0009567/1.41, allocations: 384.2 kB / 0.8886 GB, free: 30.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/1.412, allocations: 497.8 kB / 0.889 GB, free: 29.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00998/1.422, allocations: 5.068 MB / 0.894 GB, free: 24.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/1.422, allocations: 19.98 kB / 0.894 GB, free: 24.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.422, allocations: 0 / 0.894 GB, free: 24.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008776/1.43, allocations: 5.641 MB / 0.8995 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03041/1.461, allocations: 11.23 MB / 0.9105 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/1.461, allocations: 0 / 0.9105 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.463, allocations: 383.5 kB / 0.9108 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06588/1.529, allocations: 11.78 MB / 0.9223 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006647/1.53, allocations: 43.97 kB / 0.9224 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006742/1.537, allocations: 3.546 MB / 0.9259 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/1.537, allocations: 4 kB / 0.9259 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02638/1.563, allocations: 8.663 MB / 0.9343 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003515/1.567, allocations: 0.9671 MB / 0.9353 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/1.568, allocations: 35.94 kB / 0.9353 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004434/1.573, allocations: 263.3 kB / 0.9355 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004436/1.573, allocations: 113.8 kB / 0.9357 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003292/1.573, allocations: 83.92 kB / 0.9357 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007825/1.581, allocations: 3.705 MB / 0.9394 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.01e-07/1.581, allocations: 0 / 0.9394 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01233/1.594, allocations: 2.825 MB / 0.9421 GB, free: 6.777 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (pump.vol.dynBal.U,hea.outCon.T,val.actPos.y) * 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 {(12,5), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002361/1.596, allocations: 0.636 MB / 0.9427 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0254/1.621, allocations: 9.019 MB / 0.9515 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/1.622, allocations: 8.188 kB / 0.9516 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006509/1.628, allocations: 2.305 MB / 0.9538 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01609/1.644, allocations: 2.924 MB / 0.9567 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02483/1.669, allocations: 12.67 MB / 0.969 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003669/1.673, allocations: 3.388 MB / 0.9723 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001889/1.675, allocations: 411.2 kB / 0.9727 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of SimCode: time 7.41e-07/1.675, allocations: 0 / 0.9727 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of Templates: time 0.4917/2.166, allocations: 172.4 MB / 1.141 GB, free: 96.78 MB / 0.6544 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)