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.0008042/0.0008042, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008971/0.0008972, allocations: 178.6 kB / 16.92 MB, free: 6.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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6981/0.6981, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003205, allocations: 11.94 kB / 495.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1389, allocations: 77.53 MB / 0.5599 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.3229/0.4618, allocations: 32.15 MB / 0.5913 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.4792, allocations: 12.27 MB / 0.6033 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.4812, allocations: 43.56 kB / 0.6034 GB, free: 9.641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008933/0.4902, allocations: 3.829 MB / 0.6071 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006334/0.4965, allocations: 1.519 MB / 0.6086 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005636/0.5022, allocations: 1.295 MB / 0.6098 GB, free: 7.754 MB / 446.1 MB [/var/lib/jenkins/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.0153/0.5175, allocations: 9.429 MB / 0.6191 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00352/0.5211, allocations: 1.762 MB / 0.6208 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004691/0.5258, allocations: 1.593 MB / 0.6223 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.5283, allocations: 1.385 MB / 0.6237 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.5286, allocations: 70.94 kB / 0.6237 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.5319, allocations: 1.307 MB / 0.625 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005207/0.5324, allocations: 0.5091 MB / 0.6255 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.5338, allocations: 1.101 MB / 0.6266 GB, free: 60 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004456/0.5382, allocations: 3.361 MB / 0.6299 GB, free: 13.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5383, allocations: 3.375 kB / 0.6299 GB, free: 13.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.649e-06/0.5383, allocations: 0 / 0.6299 GB, free: 13.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.242e-05/0.5383, allocations: 3.938 kB / 0.6299 GB, free: 13.86 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.003815/0.5421, allocations: 2.393 MB / 0.6322 GB, free: 12.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.5422, allocations: 9.906 kB / 0.6322 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.544, allocations: 447.7 kB / 0.6327 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.5481, allocations: 2.668 MB / 0.6353 GB, free: 9.371 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-05/0.5482, allocations: 82.28 kB / 0.6353 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.5484, allocations: 104 kB / 0.6354 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.5507, allocations: 1.338 MB / 0.6367 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.5507, allocations: 0 / 0.6367 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.5508, allocations: 40 kB / 0.6368 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.5508, allocations: 24 kB / 0.6368 GB, free: 7.711 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.553, allocations: 1.042 MB / 0.6378 GB, free: 6.668 MB / 462.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.007912/0.5609, allocations: 7.176 MB / 0.6448 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.5623, allocations: 0.6166 MB / 0.6454 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007752/0.5631, allocations: 406.8 kB / 0.6458 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002765/0.5659, allocations: 1.77 MB / 0.6476 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007945/0.5667, allocations: 379.2 kB / 0.6479 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006393/0.5674, allocations: 119.2 kB / 0.648 GB, free: 11.56 MB / 478.1 MB Notification: Performance of pre-optimization done (n=45): time 2.264e-06/0.5674, allocations: 0 / 0.648 GB, free: 11.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003616/0.571, allocations: 1.389 MB / 0.6494 GB, free: 10.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.5711, allocations: 63.41 kB / 0.6494 GB, free: 10.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/0.5745, allocations: 2.348 MB / 0.6517 GB, free: 7.699 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.5746, allocations: 45.7 kB / 0.6518 GB, free: 7.648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000893/0.5755, allocations: 0.9881 MB / 0.6527 GB, free: 6.648 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.5757, allocations: 169.8 kB / 0.6529 GB, free: 6.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.5759, allocations: 141.5 kB / 0.653 GB, free: 6.336 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.576, allocations: 357.9 kB / 0.6534 GB, free: 5.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009183/0.5769, allocations: 0.4906 MB / 0.6539 GB, free: 5.488 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.5782, allocations: 0.9971 MB / 0.6548 GB, free: 4.273 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.5803, allocations: 1.343 MB / 0.6562 GB, free: 2.781 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.5803, allocations: 4 kB / 0.6562 GB, free: 2.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003608/0.5839, allocations: 1.819 MB / 0.6579 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003804/0.5843, allocations: 453 kB / 0.6584 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.5843, allocations: 12 kB / 0.6584 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00067/0.585, allocations: 192.6 kB / 0.6586 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/0.5859, allocations: 227.6 kB / 0.6588 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006879/0.5866, allocations: 0.7591 MB / 0.6595 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.5882, allocations: 112.3 kB / 0.6596 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.5883, allocations: 63.92 kB / 0.6597 GB, free: 14.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.5884, allocations: 8 kB / 0.6597 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002816/0.5912, allocations: 1.579 MB / 0.6612 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.5912, allocations: 12 kB / 0.6612 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.5915, allocations: 121.3 kB / 0.6614 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007731/0.5923, allocations: 227.6 kB / 0.6616 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.5944, allocations: 2.123 MB / 0.6637 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.5959, allocations: 117.8 kB / 0.6638 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.596, allocations: 51.98 kB / 0.6638 GB, free: 10.56 MB / 494.1 MB 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.001156/0.5972, allocations: 0.7029 MB / 0.6645 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004502/0.5976, allocations: 209.3 kB / 0.6647 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.6001, allocations: 1.038 MB / 0.6657 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.6001, allocations: 4 kB / 0.6657 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6001, allocations: 4 kB / 0.6657 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001658/0.6018, allocations: 0.974 MB / 0.6667 GB, free: 7.535 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.004698/0.6065, allocations: 2.37 MB / 0.669 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.6065, allocations: 4.062 kB / 0.669 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.607, allocations: 91.98 kB / 0.6691 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002931/0.6073, allocations: 128.7 kB / 0.6692 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.6074, allocations: 15.98 kB / 0.6692 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005472/0.6079, allocations: 0.7473 MB / 0.6699 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6079, allocations: 0 / 0.6699 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.6107, allocations: 1.425 MB / 0.6713 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007353/0.6114, allocations: 366.2 kB / 0.6717 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/0.6118, allocations: 15.98 kB / 0.6717 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.6128, allocations: 95.83 kB / 0.6718 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6129, allocations: 40.33 kB / 0.6718 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/0.613, allocations: 23.97 kB / 0.6719 GB, free: 2.062 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002311/0.6153, allocations: 1.603 MB / 0.6734 GB, free: 460 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6153, allocations: 0 / 0.6734 GB, free: 460 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.00278/0.6181, allocations: 0.9556 MB / 0.6744 GB, free: 15.49 MB / 0.4981 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.001249/0.6194, allocations: 0.5046 MB / 0.6748 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003639/0.623, allocations: 2.029 MB / 0.6768 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.623, allocations: 384 / 0.6768 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000787/0.6238, allocations: 350.3 kB / 0.6772 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004307/0.6282, allocations: 0.916 MB / 0.6781 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007479/0.6357, allocations: 4.345 MB / 0.6823 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.6372, allocations: 1.681 MB / 0.6839 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002143/0.6394, allocations: 0.5477 MB / 0.6845 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/0.6398, allocations: 159.3 kB / 0.6846 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.6398, allocations: 0 / 0.6846 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of Templates: time 0.06511/0.7049, allocations: 37.88 MB / 0.7216 GB, free: 15.47 MB / 0.545 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)