Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009542/0.0009542, 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.001052/0.001052, allocations: 180.7 kB / 16.92 MB, free: 6.898 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6735/0.6735, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.000408, allocations: 8.688 kB / 495.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1441, allocations: 77.53 MB / 0.56 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.3096/0.4538, allocations: 52.27 MB / 0.611 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02475/0.4786, allocations: 16.94 MB / 0.6275 GB, free: 8.941 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.4817, allocations: 78.91 kB / 0.6276 GB, free: 8.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009268/0.4909, allocations: 4.129 MB / 0.6316 GB, free: 7.402 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007145/0.4981, allocations: 2.212 MB / 0.6338 GB, free: 5.648 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006158/0.5043, allocations: 2.047 MB / 0.6358 GB, free: 4.18 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.05423941276795777}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01202/0.5163, allocations: 8.996 MB / 0.6446 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002696/0.519, allocations: 1.371 MB / 0.6459 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.523, allocations: 1.586 MB / 0.6475 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.5258, allocations: 1.365 MB / 0.6488 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004583/0.5263, allocations: 68 kB / 0.6489 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004807/0.5311, allocations: 1.926 MB / 0.6508 GB, free: 9.676 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008936/0.532, allocations: 0.5486 MB / 0.6513 GB, free: 9.125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002015/0.5341, allocations: 1.105 MB / 0.6524 GB, free: 8.008 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006004/0.5401, allocations: 3.738 MB / 0.656 GB, free: 4.258 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5401, allocations: 0 / 0.656 GB, free: 4.258 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.5401, allocations: 0 / 0.656 GB, free: 4.258 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.222e-05/0.5402, allocations: 3.938 kB / 0.656 GB, free: 4.254 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.00453/0.5447, allocations: 2.509 MB / 0.6585 GB, free: 1.668 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.5447, allocations: 8.031 kB / 0.6585 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/0.5475, allocations: 0.5941 MB / 0.6591 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005395/0.553, allocations: 2.676 MB / 0.6617 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004273/0.5534, allocations: 166.1 kB / 0.6618 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.5537, allocations: 127.9 kB / 0.662 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003033/0.5567, allocations: 1.39 MB / 0.6633 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.5568, allocations: 4 kB / 0.6633 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.5569, allocations: 48 kB / 0.6634 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/0.557, allocations: 42.02 kB / 0.6634 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00299/0.56, allocations: 1.171 MB / 0.6645 GB, free: 11.27 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.01039/0.5704, allocations: 7.371 MB / 0.6717 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/0.5731, allocations: 1.419 MB / 0.6731 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.5743, allocations: 449.5 kB / 0.6736 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005838/0.5801, allocations: 3.195 MB / 0.6767 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/0.5813, allocations: 454.9 kB / 0.6771 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006012/0.5819, allocations: 95.12 kB / 0.6772 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 3.226e-06/0.5819, allocations: 0 / 0.6772 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.003563/0.5855, allocations: 1.326 MB / 0.6785 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.5856, allocations: 59.95 kB / 0.6786 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003404/0.589, allocations: 2.094 MB / 0.6806 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.5891, allocations: 45.7 kB / 0.6806 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009499/0.5901, allocations: 1.01 MB / 0.6816 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.5903, allocations: 232.9 kB / 0.6819 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.5905, allocations: 145.6 kB / 0.682 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.5906, allocations: 301.1 kB / 0.6823 GB, free: 8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.592, allocations: 0.5693 MB / 0.6828 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.5936, allocations: 1.016 MB / 0.6838 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/0.5965, allocations: 1.5 MB / 0.6853 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.5965, allocations: 4 kB / 0.6853 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003783/0.6003, allocations: 1.819 MB / 0.6871 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003095/0.6006, allocations: 475.9 kB / 0.6875 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.6006, allocations: 12 kB / 0.6875 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.6007, allocations: 20 kB / 0.6876 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.6019, allocations: 319.5 kB / 0.6879 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.819e-05/0.6019, allocations: 31.95 kB / 0.6879 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.6035, allocations: 157.4 kB / 0.688 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.6036, allocations: 63.98 kB / 0.6881 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.6036, allocations: 4 kB / 0.6881 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003236/0.6069, allocations: 1.611 MB / 0.6897 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.6069, allocations: 8 kB / 0.6897 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.6069, allocations: 20 kB / 0.6897 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.6081, allocations: 320.2 kB / 0.69 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.589e-05/0.6082, allocations: 27.86 kB / 0.69 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.6097, allocations: 149.5 kB / 0.6902 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.6098, allocations: 63.98 kB / 0.6902 GB, free: 15.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 152 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.6109, allocations: 0.5826 MB / 0.6908 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004397/0.6113, allocations: 201.4 kB / 0.691 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/0.6144, allocations: 1.185 MB / 0.6922 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.6145, allocations: 8 kB / 0.6922 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.6145, allocations: 7.984 kB / 0.6922 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002197/0.6167, allocations: 0.9978 MB / 0.6932 GB, free: 12.25 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.006066/0.6228, allocations: 2.66 MB / 0.6957 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.6228, allocations: 0 / 0.6957 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/0.6236, allocations: 159.9 kB / 0.6959 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.6238, allocations: 28.84 kB / 0.6959 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.6239, allocations: 19.98 kB / 0.6959 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.6251, allocations: 1.319 MB / 0.6972 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6251, allocations: 160 / 0.6972 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003817/0.6289, allocations: 1.653 MB / 0.6989 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009268/0.6299, allocations: 402.1 kB / 0.6992 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004735/0.6304, allocations: 12 kB / 0.6992 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.6317, allocations: 123.9 kB / 0.6994 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.6319, allocations: 48.48 kB / 0.6994 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.684e-05/0.632, allocations: 35.97 kB / 0.6994 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002688/0.6347, allocations: 1.45 MB / 0.7009 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6347, allocations: 0 / 0.7009 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00361/0.6383, allocations: 1.041 MB / 0.7019 GB, free: 3.047 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002144/0.6404, allocations: 0.8547 MB / 0.7027 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004725/0.6452, allocations: 2.177 MB / 0.7048 GB, free: 136 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6452, allocations: 128 / 0.7048 GB, free: 136 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.6466, allocations: 0.5682 MB / 0.7054 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004919/0.6515, allocations: 0.9018 MB / 0.7063 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007464/0.659, allocations: 4.455 MB / 0.7106 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.6602, allocations: 1.543 MB / 0.7121 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002248/0.6625, allocations: 0.528 MB / 0.7126 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.663, allocations: 171.3 kB / 0.7128 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.663, allocations: 0 / 0.7128 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of Templates: time 0.06325/0.7262, allocations: 37.46 MB / 0.7494 GB, free: 2.879 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)