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.000806/0.000806, allocations: 93.81 kB / 16.02 MB, free: 84 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.001008/0.001008, allocations: 177.1 kB / 16.92 MB, free: 6.68 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7449/0.7449, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 8.594 kB / 0.4933 GB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3848, allocations: 79.29 MB / 0.5707 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05131/0.4361, allocations: 52.28 MB / 0.6218 GB, free: 4.59 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02524/0.4614, allocations: 16.95 MB / 0.6383 GB, free: 6.984 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/0.4642, allocations: 80 kB / 0.6384 GB, free: 6.953 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008603/0.4729, allocations: 4.131 MB / 0.6424 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006819/0.4797, allocations: 2.207 MB / 0.6446 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005113/0.4848, allocations: 2.055 MB / 0.6466 GB, free: 14.8 MB / 494.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.01096/0.4958, allocations: 8.984 MB / 0.6554 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.4979, allocations: 1.373 MB / 0.6567 GB, free: 4.395 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.501, allocations: 1.594 MB / 0.6583 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.5028, allocations: 1.365 MB / 0.6596 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.503, allocations: 72 kB / 0.6597 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.5068, allocations: 1.918 MB / 0.6616 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005995/0.5074, allocations: 0.5447 MB / 0.6621 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.5086, allocations: 1.112 MB / 0.6632 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004491/0.5131, allocations: 3.73 MB / 0.6668 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5131, allocations: 0 / 0.6668 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5131, allocations: 4 kB / 0.6668 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.225e-05/0.5132, allocations: 0 / 0.6668 GB, free: 10.01 MB / 0.4981 GB 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.004268/0.5174, allocations: 2.524 MB / 0.6693 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.5175, allocations: 8.031 kB / 0.6693 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/0.5202, allocations: 0.5902 MB / 0.6699 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/0.5246, allocations: 2.66 MB / 0.6725 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004387/0.525, allocations: 166 kB / 0.6726 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.5253, allocations: 128 kB / 0.6727 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/0.5281, allocations: 1.39 MB / 0.6741 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.5281, allocations: 0 / 0.6741 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.5282, allocations: 48 kB / 0.6741 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/0.5283, allocations: 46.02 kB / 0.6742 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/0.5313, allocations: 1.163 MB / 0.6753 GB, free: 1.035 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 preOpt removeSimpleEquations (simulation): time 0.01002/0.5413, allocations: 7.375 MB / 0.6825 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/0.544, allocations: 1.415 MB / 0.6839 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.5451, allocations: 450.9 kB / 0.6843 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005495/0.5506, allocations: 3.207 MB / 0.6875 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/0.5518, allocations: 454.9 kB / 0.6879 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004461/0.5522, allocations: 95.09 kB / 0.688 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.154e-06/0.5523, allocations: 0 / 0.688 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.003331/0.5556, allocations: 1.314 MB / 0.6893 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.5556, allocations: 59.97 kB / 0.6893 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.5583, allocations: 2.098 MB / 0.6914 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.521e-05/0.5584, allocations: 41.7 kB / 0.6914 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000867/0.5593, allocations: 1.018 MB / 0.6924 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.5595, allocations: 216.9 kB / 0.6926 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.5597, allocations: 157.6 kB / 0.6928 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.5598, allocations: 301.1 kB / 0.6931 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.561, allocations: 0.5654 MB / 0.6936 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.5626, allocations: 1.02 MB / 0.6946 GB, free: 12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/0.5653, allocations: 1.492 MB / 0.6961 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.5653, allocations: 4 kB / 0.6961 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003578/0.5689, allocations: 1.826 MB / 0.6979 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003251/0.5692, allocations: 483.9 kB / 0.6983 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.5693, allocations: 16.03 kB / 0.6983 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.5693, allocations: 19.94 kB / 0.6984 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.5706, allocations: 323.5 kB / 0.6987 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.744e-05/0.5706, allocations: 27.88 kB / 0.6987 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.5722, allocations: 157.5 kB / 0.6988 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.5723, allocations: 63.98 kB / 0.6989 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.5723, allocations: 4 kB / 0.6989 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003133/0.5754, allocations: 1.607 MB / 0.7005 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.5755, allocations: 12 kB / 0.7005 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.5755, allocations: 23.98 kB / 0.7005 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.5766, allocations: 316.2 kB / 0.7008 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/0.5767, allocations: 31.86 kB / 0.7008 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.578, allocations: 145.6 kB / 0.701 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-05/0.5781, allocations: 63.98 kB / 0.701 GB, free: 5.051 MB / 0.5294 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.000958/0.5791, allocations: 0.5787 MB / 0.7016 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.5793, allocations: 201.4 kB / 0.7018 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.5821, allocations: 1.182 MB / 0.703 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.5822, allocations: 8 kB / 0.703 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5822, allocations: 4 kB / 0.703 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002187/0.5844, allocations: 1.009 MB / 0.7039 GB, free: 1.996 MB / 0.5294 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.00547/0.5899, allocations: 2.652 MB / 0.7065 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.5899, allocations: 0 / 0.7065 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008098/0.5907, allocations: 155.9 kB / 0.7067 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/0.5909, allocations: 28.84 kB / 0.7067 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.308e-05/0.5909, allocations: 19.98 kB / 0.7067 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.5921, allocations: 1.323 MB / 0.708 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5921, allocations: 8.156 kB / 0.708 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/0.5958, allocations: 1.645 MB / 0.7096 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006814/0.5965, allocations: 398.1 kB / 0.71 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.5967, allocations: 19.98 kB / 0.71 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.5979, allocations: 127.8 kB / 0.7102 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.5981, allocations: 48.48 kB / 0.7102 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/0.5981, allocations: 39.91 kB / 0.7102 GB, free: 11.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002351/0.6005, allocations: 1.446 MB / 0.7117 GB, free: 9.832 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6005, allocations: 7.875 kB / 0.7117 GB, free: 9.824 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003076/0.6036, allocations: 1.033 MB / 0.7127 GB, free: 8.789 MB / 0.545 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.001889/0.6055, allocations: 0.8514 MB / 0.7135 GB, free: 8.066 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004513/0.61, allocations: 2.172 MB / 0.7156 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.61, allocations: 4.125 kB / 0.7156 GB, free: 5.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.6114, allocations: 0.5642 MB / 0.7162 GB, free: 5.293 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004567/0.616, allocations: 0.903 MB / 0.7171 GB, free: 4.402 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007034/0.623, allocations: 4.467 MB / 0.7214 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.6243, allocations: 1.539 MB / 0.7229 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002294/0.6266, allocations: 0.5203 MB / 0.7234 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.6271, allocations: 171.3 kB / 0.7236 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/0.6271, allocations: 0 / 0.7236 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.06338/0.6905, allocations: 37.48 MB / 0.7602 GB, free: 8.609 MB / 0.5919 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)