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.0008429/0.0008429, 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.0009716/0.0009716, allocations: 186.3 kB / 16.92 MB, free: 6.75 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.348/1.348, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7324/0.7324, allocations: 123 MB / 415.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003371, allocations: 15.97 kB / 0.4933 GB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4325, allocations: 79.28 MB / 0.5707 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.03461/0.4671, allocations: 32.17 MB / 0.6022 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.4862, allocations: 12.27 MB / 0.6141 GB, free: 11.13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.4884, allocations: 48.72 kB / 0.6142 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008178/0.4966, allocations: 3.817 MB / 0.6179 GB, free: 9.078 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004741/0.5014, allocations: 1.516 MB / 0.6194 GB, free: 7.883 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.5051, allocations: 1.305 MB / 0.6207 GB, free: 6.953 MB / 462.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.01152/0.5166, allocations: 9.416 MB / 0.6299 GB, free: 136 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.5193, allocations: 1.772 MB / 0.6316 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.5223, allocations: 1.583 MB / 0.6331 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/0.5242, allocations: 1.392 MB / 0.6345 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.5244, allocations: 68 kB / 0.6346 GB, free: 11.28 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.5271, allocations: 1.298 MB / 0.6358 GB, free: 9.977 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000529/0.5277, allocations: 0.5135 MB / 0.6363 GB, free: 9.461 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.529, allocations: 1.109 MB / 0.6374 GB, free: 8.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00422/0.5332, allocations: 3.36 MB / 0.6407 GB, free: 4.969 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5332, allocations: 4 kB / 0.6407 GB, free: 4.965 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5332, allocations: 0 / 0.6407 GB, free: 4.965 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.729e-05/0.5333, allocations: 0 / 0.6407 GB, free: 4.965 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.003768/0.537, allocations: 2.399 MB / 0.643 GB, free: 2.488 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5371, allocations: 8.031 kB / 0.643 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.539, allocations: 440.7 kB / 0.6435 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004108/0.5431, allocations: 2.669 MB / 0.6461 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.5432, allocations: 86.28 kB / 0.6462 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.5434, allocations: 115.8 kB / 0.6463 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.5457, allocations: 1.323 MB / 0.6476 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.5457, allocations: 7.938 kB / 0.6476 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.5459, allocations: 44 kB / 0.6476 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.5459, allocations: 24 kB / 0.6476 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.5481, allocations: 1.046 MB / 0.6487 GB, free: 12.58 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 preOpt removeSimpleEquations (simulation): time 0.008105/0.5562, allocations: 7.173 MB / 0.6557 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.5577, allocations: 0.6088 MB / 0.6563 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008129/0.5585, allocations: 406.8 kB / 0.6566 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002771/0.5613, allocations: 1.763 MB / 0.6584 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000807/0.5622, allocations: 375.3 kB / 0.6587 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005484/0.5627, allocations: 123.1 kB / 0.6588 GB, free: 1.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 3.948e-06/0.5627, allocations: 0 / 0.6588 GB, free: 1.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.003768/0.5665, allocations: 1.403 MB / 0.6602 GB, free: 60 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.5666, allocations: 55.41 kB / 0.6603 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.5697, allocations: 2.352 MB / 0.6626 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.729e-05/0.5698, allocations: 45.7 kB / 0.6626 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008503/0.5706, allocations: 0.9959 MB / 0.6636 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.5708, allocations: 169.7 kB / 0.6637 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.571, allocations: 137.6 kB / 0.6639 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5711, allocations: 357.9 kB / 0.6642 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.5721, allocations: 0.4944 MB / 0.6647 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.5734, allocations: 0.9892 MB / 0.6657 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.5754, allocations: 1.347 MB / 0.667 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.5755, allocations: 4 kB / 0.667 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00339/0.5788, allocations: 1.81 MB / 0.6687 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.5791, allocations: 465.5 kB / 0.6692 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.5792, allocations: 12 kB / 0.6692 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006867/0.5799, allocations: 180.6 kB / 0.6694 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008392/0.5807, allocations: 235.6 kB / 0.6696 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006507/0.5814, allocations: 0.763 MB / 0.6703 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.5828, allocations: 108.4 kB / 0.6704 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.5829, allocations: 55.98 kB / 0.6705 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.914e-06/0.5829, allocations: 4 kB / 0.6705 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002593/0.5855, allocations: 1.584 MB / 0.672 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.5855, allocations: 12 kB / 0.6721 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/0.5858, allocations: 124.7 kB / 0.6722 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/0.5865, allocations: 223.6 kB / 0.6724 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.5887, allocations: 2.134 MB / 0.6745 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.5899, allocations: 113.8 kB / 0.6746 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/0.59, allocations: 51.98 kB / 0.6746 GB, free: 488 kB / 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.0009867/0.591, allocations: 0.7035 MB / 0.6753 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.5913, allocations: 209.3 kB / 0.6755 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.5935, allocations: 1.041 MB / 0.6765 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.5936, allocations: 8 kB / 0.6765 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5936, allocations: 0 / 0.6765 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001674/0.5952, allocations: 0.9739 MB / 0.6775 GB, free: 13.45 MB / 0.5137 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.003993/0.5993, allocations: 2.367 MB / 0.6798 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5993, allocations: 4 kB / 0.6798 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.5998, allocations: 91.92 kB / 0.6799 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002977/0.6001, allocations: 116.9 kB / 0.68 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.6002, allocations: 15.98 kB / 0.68 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005556/0.6007, allocations: 0.7387 MB / 0.6807 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6007, allocations: 4.031 kB / 0.6808 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.6034, allocations: 1.44 MB / 0.6822 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006382/0.6041, allocations: 370.3 kB / 0.6825 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.6043, allocations: 12 kB / 0.6825 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000925/0.6052, allocations: 99.81 kB / 0.6826 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.6054, allocations: 32.39 kB / 0.6826 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.6054, allocations: 19.98 kB / 0.6827 GB, free: 8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002156/0.6076, allocations: 1.607 MB / 0.6842 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6076, allocations: 3.938 kB / 0.6842 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00244/0.61, allocations: 0.9478 MB / 0.6852 GB, free: 5.43 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.001108/0.6112, allocations: 0.5034 MB / 0.6857 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003656/0.6148, allocations: 2.025 MB / 0.6876 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.6149, allocations: 0 / 0.6876 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008181/0.6157, allocations: 363.6 kB / 0.688 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004331/0.62, allocations: 0.9154 MB / 0.6889 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007299/0.6273, allocations: 4.352 MB / 0.6931 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.6286, allocations: 1.681 MB / 0.6948 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002088/0.6307, allocations: 0.5437 MB / 0.6953 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.6312, allocations: 159.4 kB / 0.6955 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of SimCode: time 2.064e-06/0.6312, allocations: 0 / 0.6955 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.06099/0.6922, allocations: 37.88 MB / 0.7324 GB, free: 5.375 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)