Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") translateModel(IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 88.62 kB / 16.66 MB, free: 6.598 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.001256/0.001256, allocations: 178.3 kB / 17.57 MB, free: 6.184 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.403/1.403, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7059/0.7059, allocations: 115.5 MB / 408.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003781, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4187, allocations: 77.52 MB / 0.5606 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.02835/0.4471, allocations: 32.15 MB / 0.592 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01848/0.4657, allocations: 12.3 MB / 0.604 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.4682, allocations: 47.34 kB / 0.604 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008586/0.4768, allocations: 3.812 MB / 0.6078 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.4821, allocations: 1.513 MB / 0.6092 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004098/0.4862, allocations: 1.307 MB / 0.6105 GB, free: 184 kB / 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.01263/0.4989, allocations: 9.422 MB / 0.6197 GB, free: 6.762 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/0.5019, allocations: 1.776 MB / 0.6214 GB, free: 4.957 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003905/0.5059, allocations: 1.583 MB / 0.623 GB, free: 3.367 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.5086, allocations: 1.392 MB / 0.6243 GB, free: 1.969 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003772/0.509, allocations: 68 kB / 0.6244 GB, free: 1.902 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.5125, allocations: 1.302 MB / 0.6257 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007423/0.5132, allocations: 0.5057 MB / 0.6262 GB, free: 92 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.515, allocations: 1.105 MB / 0.6273 GB, free: 14.97 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.5185, allocations: 2.619 MB / 0.6298 GB, free: 12.35 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5186, allocations: 0 / 0.6298 GB, free: 12.35 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5186, allocations: 0 / 0.6298 GB, free: 12.35 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.504e-05/0.5186, allocations: 0 / 0.6298 GB, free: 12.35 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.004475/0.5231, allocations: 2.395 MB / 0.6322 GB, free: 9.875 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5232, allocations: 8.031 kB / 0.6322 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.5253, allocations: 448.6 kB / 0.6326 GB, free: 9.426 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004631/0.5299, allocations: 2.661 MB / 0.6352 GB, free: 6.695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.53, allocations: 82.28 kB / 0.6353 GB, free: 6.613 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.5302, allocations: 111.9 kB / 0.6354 GB, free: 6.504 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.5326, allocations: 1.33 MB / 0.6367 GB, free: 5.098 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.5327, allocations: 3.938 kB / 0.6367 GB, free: 5.094 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.5328, allocations: 44 kB / 0.6367 GB, free: 5.051 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.5328, allocations: 24 kB / 0.6367 GB, free: 5.027 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.5349, allocations: 1.042 MB / 0.6378 GB, free: 3.984 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.00887/0.5438, allocations: 7.186 MB / 0.6448 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.5453, allocations: 0.6127 MB / 0.6454 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007902/0.5461, allocations: 409.6 kB / 0.6458 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002912/0.5491, allocations: 1.759 MB / 0.6475 GB, free: 9.375 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007959/0.5499, allocations: 379.2 kB / 0.6478 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007172/0.5506, allocations: 115.2 kB / 0.648 GB, free: 8.879 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 4.308e-06/0.5506, allocations: 0 / 0.648 GB, free: 8.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.003762/0.5544, allocations: 1.401 MB / 0.6493 GB, free: 7.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.5544, allocations: 55.41 kB / 0.6494 GB, free: 7.379 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/0.5575, allocations: 2.356 MB / 0.6517 GB, free: 5.004 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.5576, allocations: 41.7 kB / 0.6517 GB, free: 4.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008644/0.5585, allocations: 0.992 MB / 0.6527 GB, free: 3.953 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.5587, allocations: 165.8 kB / 0.6528 GB, free: 3.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.5588, allocations: 137.6 kB / 0.653 GB, free: 3.648 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.559, allocations: 361.9 kB / 0.6533 GB, free: 3.289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009579/0.5599, allocations: 0.4905 MB / 0.6538 GB, free: 2.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.5612, allocations: 1.001 MB / 0.6548 GB, free: 1.578 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.5632, allocations: 1.347 MB / 0.6561 GB, free: 72 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.5632, allocations: 4 kB / 0.6561 GB, free: 68 kB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003532/0.5668, allocations: 1.815 MB / 0.6579 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.5671, allocations: 445 kB / 0.6583 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.5671, allocations: 12 kB / 0.6583 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006852/0.5678, allocations: 192.6 kB / 0.6585 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/0.5686, allocations: 231.6 kB / 0.6587 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006865/0.5693, allocations: 0.7631 MB / 0.6595 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.5709, allocations: 116.3 kB / 0.6596 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.571, allocations: 51.98 kB / 0.6596 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.571, allocations: 4 kB / 0.6596 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002671/0.5737, allocations: 1.583 MB / 0.6612 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.5737, allocations: 8 kB / 0.6612 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.574, allocations: 135.5 kB / 0.6613 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/0.5747, allocations: 223.6 kB / 0.6615 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.5769, allocations: 2.126 MB / 0.6636 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.5784, allocations: 113.8 kB / 0.6637 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.5785, allocations: 55.98 kB / 0.6638 GB, free: 7.855 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001248/0.5798, allocations: 0.6963 MB / 0.6644 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004312/0.5802, allocations: 213.3 kB / 0.6646 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.5826, allocations: 1.034 MB / 0.6656 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.5826, allocations: 8 kB / 0.6657 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.5826, allocations: 0 / 0.6657 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001663/0.5843, allocations: 0.974 MB / 0.6666 GB, free: 4.84 MB / 0.4981 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.004435/0.5887, allocations: 2.374 MB / 0.6689 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.5887, allocations: 0 / 0.6689 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.5892, allocations: 91.86 kB / 0.669 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002894/0.5895, allocations: 120.7 kB / 0.6691 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.5896, allocations: 20.06 kB / 0.6691 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005692/0.5902, allocations: 0.746 MB / 0.6699 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5902, allocations: 0 / 0.6699 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.5929, allocations: 1.429 MB / 0.6713 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007685/0.5937, allocations: 374.3 kB / 0.6716 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.5939, allocations: 15.98 kB / 0.6716 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008566/0.5948, allocations: 87.83 kB / 0.6717 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.5949, allocations: 44.36 kB / 0.6718 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.595, allocations: 23.98 kB / 0.6718 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002356/0.5973, allocations: 1.599 MB / 0.6733 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5974, allocations: 7.938 kB / 0.6734 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002627/0.6, allocations: 0.9478 MB / 0.6743 GB, free: 12.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (39): * Single equations (assignments): 33 * 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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001264/0.6013, allocations: 0.5025 MB / 0.6748 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003661/0.6049, allocations: 2.018 MB / 0.6767 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.605, allocations: 4.125 kB / 0.6767 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007792/0.6057, allocations: 358.2 kB / 0.6771 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/0.6101, allocations: 0.9145 MB / 0.678 GB, free: 9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007569/0.6177, allocations: 4.418 MB / 0.6823 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.619, allocations: 1.667 MB / 0.6839 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005506/0.6196, allocations: 159.4 kB / 0.6841 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of SimCode: time 1.994e-06/0.6196, allocations: 0 / 0.6841 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.06525/0.6849, allocations: 44.58 MB / 0.7276 GB, free: 6.324 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)