Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.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.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001025, allocations: 90.42 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.001002/0.001002, allocations: 182.4 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.356/1.356, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7278/0.7278, allocations: 115.5 MB / 408.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 12 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.407, allocations: 77.51 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.02728/0.4343, allocations: 29.1 MB / 0.589 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01803/0.4524, allocations: 11.71 MB / 0.6004 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.455, allocations: 42.34 kB / 0.6005 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008367/0.4634, allocations: 3.779 MB / 0.6042 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004883/0.4683, allocations: 1.406 MB / 0.6055 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.4722, allocations: 1.274 MB / 0.6068 GB, free: 3.297 MB / 446.1 MB [/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.002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01018/0.4824, allocations: 8 MB / 0.6146 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002084/0.4845, allocations: 1.13 MB / 0.6157 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003001/0.4875, allocations: 1.225 MB / 0.6169 GB, free: 9.621 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.4894, allocations: 1.085 MB / 0.6179 GB, free: 8.531 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.4896, allocations: 52 kB / 0.618 GB, free: 8.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.493, allocations: 1.267 MB / 0.6192 GB, free: 7.211 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005829/0.4936, allocations: 470.2 kB / 0.6197 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.4948, allocations: 0.8912 MB / 0.6206 GB, free: 5.848 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003171/0.498, allocations: 2.248 MB / 0.6227 GB, free: 3.594 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.498, allocations: 3.938 kB / 0.6228 GB, free: 3.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.498, allocations: 0 / 0.6228 GB, free: 3.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.411e-05/0.4981, allocations: 0 / 0.6228 GB, free: 3.59 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003748/0.5018, allocations: 2.016 MB / 0.6247 GB, free: 1.504 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.5019, allocations: 12.03 kB / 0.6247 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.5038, allocations: 393.2 kB / 0.6251 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004003/0.5078, allocations: 2.333 MB / 0.6274 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.43e-05/0.5079, allocations: 66.23 kB / 0.6274 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.5081, allocations: 88 kB / 0.6275 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.51, allocations: 1.016 MB / 0.6285 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.5101, allocations: 7.922 kB / 0.6285 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.363e-05/0.5102, allocations: 32 kB / 0.6286 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.5102, allocations: 20 kB / 0.6286 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.5119, allocations: 0.7728 MB / 0.6293 GB, free: 12.67 MB / 478.1 MB 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.007264/0.5192, allocations: 5.366 MB / 0.6346 GB, free: 6.934 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.5206, allocations: 0.5816 MB / 0.6351 GB, free: 6.344 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007501/0.5214, allocations: 337.8 kB / 0.6355 GB, free: 6.012 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00256/0.524, allocations: 1.639 MB / 0.6371 GB, free: 4.223 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007771/0.5248, allocations: 335.1 kB / 0.6374 GB, free: 3.883 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004955/0.5253, allocations: 119.1 kB / 0.6375 GB, free: 3.766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 2.534e-06/0.5253, allocations: 0 / 0.6375 GB, free: 3.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.003476/0.5288, allocations: 1.246 MB / 0.6387 GB, free: 2.488 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.5288, allocations: 67.33 kB / 0.6388 GB, free: 2.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.5313, allocations: 1.838 MB / 0.6406 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.758e-05/0.5314, allocations: 37.7 kB / 0.6406 GB, free: 496 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007576/0.5322, allocations: 0.7831 MB / 0.6414 GB, free: 15.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.5324, allocations: 161.8 kB / 0.6415 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.5325, allocations: 125.6 kB / 0.6417 GB, free: 15.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5327, allocations: 353.9 kB / 0.642 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009177/0.5336, allocations: 462 kB / 0.6424 GB, free: 14.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.5348, allocations: 0.828 MB / 0.6432 GB, free: 13.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.5367, allocations: 1.18 MB / 0.6444 GB, free: 12.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/0.5367, allocations: 4 kB / 0.6444 GB, free: 12.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003233/0.5399, allocations: 1.587 MB / 0.6459 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002999/0.5403, allocations: 384 kB / 0.6463 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.5403, allocations: 12 kB / 0.6463 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006706/0.541, allocations: 190.5 kB / 0.6465 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/0.5417, allocations: 203.6 kB / 0.6467 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007973/0.5425, allocations: 0.7669 MB / 0.6474 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.5438, allocations: 104.8 kB / 0.6475 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.5439, allocations: 52 kB / 0.6476 GB, free: 8.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.5439, allocations: 2.188 kB / 0.6476 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002415/0.5463, allocations: 1.431 MB / 0.649 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.5464, allocations: 11.98 kB / 0.649 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.5466, allocations: 101.7 kB / 0.6491 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/0.5472, allocations: 200.1 kB / 0.6493 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.5494, allocations: 2.171 MB / 0.6514 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.5507, allocations: 96.86 kB / 0.6515 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.132e-05/0.5508, allocations: 44 kB / 0.6515 GB, free: 4.625 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001033/0.5518, allocations: 0.5821 MB / 0.6521 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.5521, allocations: 161.8 kB / 0.6523 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.5542, allocations: 0.9196 MB / 0.6532 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.5542, allocations: 4 kB / 0.6532 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.5542, allocations: 0 / 0.6532 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001592/0.5558, allocations: 0.8921 MB / 0.654 GB, free: 1.977 MB / 494.1 MB 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.003982/0.5598, allocations: 2.067 MB / 0.6561 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.5598, allocations: 0 / 0.6561 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.5603, allocations: 87.94 kB / 0.6561 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003034/0.5606, allocations: 128.8 kB / 0.6563 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.5607, allocations: 11.98 kB / 0.6563 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006509/0.5613, allocations: 0.7475 MB / 0.657 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5613, allocations: 0 / 0.657 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/0.5639, allocations: 1.262 MB / 0.6582 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006187/0.5645, allocations: 318.9 kB / 0.6585 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.5647, allocations: 11.94 kB / 0.6586 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007656/0.5655, allocations: 83.92 kB / 0.6586 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.5656, allocations: 40.27 kB / 0.6587 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.5656, allocations: 27.97 kB / 0.6587 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001947/0.5676, allocations: 1.246 MB / 0.6599 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5676, allocations: 0 / 0.6599 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002508/0.5701, allocations: 0.8034 MB / 0.6607 GB, free: 10.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * 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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.5714, allocations: 0.4956 MB / 0.6612 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003944/0.5754, allocations: 1.875 MB / 0.663 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.5754, allocations: 0 / 0.663 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008651/0.5763, allocations: 343 kB / 0.6633 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/0.5803, allocations: 0.7451 MB / 0.6641 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007926/0.5882, allocations: 3.64 MB / 0.6676 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/0.5898, allocations: 1.433 MB / 0.669 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006054/0.5904, allocations: 139.4 kB / 0.6692 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of SimCode: time 1.183e-06/0.5904, allocations: 0 / 0.6692 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of Templates: time 0.05897/0.6494, allocations: 36.2 MB / 0.7045 GB, free: 14.2 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)