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.0009298/0.0009295, allocations: 90.27 kB / 16.67 MB, free: 6.594 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.001083/0.001083, allocations: 181.6 kB / 17.58 MB, free: 6.188 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.379/1.379, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7222/0.7222, allocations: 115.5 MB / 408.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003908, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4304, allocations: 77.53 MB / 0.5606 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04655/0.4771, allocations: 52.25 MB / 0.6116 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02834/0.5054, allocations: 16.98 MB / 0.6282 GB, free: 14 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004357/0.5099, allocations: 79.5 kB / 0.6283 GB, free: 13.92 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009874/0.5198, allocations: 4.121 MB / 0.6323 GB, free: 9.801 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008015/0.5278, allocations: 2.21 MB / 0.6344 GB, free: 7.582 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006699/0.5345, allocations: 2.04 MB / 0.6364 GB, free: 5.562 MB / 478.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.05423941276795777}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01352/0.548, allocations: 8.988 MB / 0.6452 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00338/0.5515, allocations: 1.389 MB / 0.6466 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004277/0.5558, allocations: 1.582 MB / 0.6481 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.5585, allocations: 1.368 MB / 0.6495 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006214/0.5592, allocations: 75.94 kB / 0.6495 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004978/0.5642, allocations: 1.922 MB / 0.6514 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.5652, allocations: 0.5408 MB / 0.6519 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002373/0.5676, allocations: 1.109 MB / 0.653 GB, free: 4.508 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.5724, allocations: 2.891 MB / 0.6558 GB, free: 1.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.5724, allocations: 0 / 0.6558 GB, free: 1.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5725, allocations: 0 / 0.6558 GB, free: 1.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000128/0.5726, allocations: 0 / 0.6558 GB, free: 1.609 MB / 494.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.005633/0.5782, allocations: 2.52 MB / 0.6583 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5783, allocations: 16.02 kB / 0.6583 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.5813, allocations: 0.5863 MB / 0.6589 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005573/0.5869, allocations: 2.66 MB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004549/0.5874, allocations: 170.1 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/0.5877, allocations: 119.9 kB / 0.6618 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.5912, allocations: 1.39 MB / 0.6631 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.5912, allocations: 3.938 kB / 0.6631 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.5914, allocations: 51.98 kB / 0.6632 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.5914, allocations: 42.08 kB / 0.6632 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.5947, allocations: 1.163 MB / 0.6643 GB, free: 8.633 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.01169/0.6064, allocations: 7.38 MB / 0.6716 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.6092, allocations: 1.418 MB / 0.6729 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.6103, allocations: 446.9 kB / 0.6734 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006601/0.617, allocations: 3.199 MB / 0.6765 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.6182, allocations: 454.8 kB / 0.6769 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008416/0.6191, allocations: 95.19 kB / 0.677 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 5.741e-06/0.6191, allocations: 3.938 kB / 0.677 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.003744/0.6228, allocations: 1.318 MB / 0.6783 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.6229, allocations: 63.95 kB / 0.6784 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/0.6267, allocations: 2.086 MB / 0.6804 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.6268, allocations: 45.7 kB / 0.6804 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.6279, allocations: 1.022 MB / 0.6814 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.6281, allocations: 220.9 kB / 0.6817 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.6283, allocations: 145.6 kB / 0.6818 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6285, allocations: 313.1 kB / 0.6821 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.6298, allocations: 0.5576 MB / 0.6826 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.6315, allocations: 1.02 MB / 0.6836 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/0.6342, allocations: 1.507 MB / 0.6851 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.6342, allocations: 4 kB / 0.6851 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003881/0.6381, allocations: 1.811 MB / 0.6869 GB, free: 84 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004868/0.6386, allocations: 475.9 kB / 0.6873 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/0.6386, allocations: 12 kB / 0.6873 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-05/0.6387, allocations: 20 kB / 0.6874 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.64, allocations: 327.5 kB / 0.6877 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.413e-05/0.64, allocations: 23.92 kB / 0.6877 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.6418, allocations: 153.5 kB / 0.6878 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.642, allocations: 59.98 kB / 0.6879 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.642, allocations: 4 kB / 0.6879 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003279/0.6453, allocations: 1.615 MB / 0.6895 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/0.6453, allocations: 12 kB / 0.6895 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.6454, allocations: 16 kB / 0.6895 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.6465, allocations: 328.2 kB / 0.6898 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.551e-05/0.6466, allocations: 31.86 kB / 0.6899 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.6483, allocations: 145.5 kB / 0.69 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.6484, allocations: 59.98 kB / 0.6901 GB, free: 12.66 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.001189/0.6496, allocations: 0.5826 MB / 0.6906 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005189/0.6501, allocations: 201.4 kB / 0.6908 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/0.6533, allocations: 1.176 MB / 0.692 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.6533, allocations: 15.98 kB / 0.692 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.6533, allocations: 0 / 0.692 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002174/0.6555, allocations: 1.006 MB / 0.693 GB, free: 9.605 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.006382/0.6619, allocations: 2.652 MB / 0.6955 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.6619, allocations: 4 kB / 0.6956 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/0.6628, allocations: 155.9 kB / 0.6957 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/0.663, allocations: 32.77 kB / 0.6957 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.846e-05/0.6631, allocations: 23.98 kB / 0.6958 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.6643, allocations: 1.315 MB / 0.697 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6643, allocations: 4.094 kB / 0.697 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.6683, allocations: 1.657 MB / 0.6987 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.6694, allocations: 398.1 kB / 0.699 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005556/0.6699, allocations: 16 kB / 0.6991 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.6714, allocations: 119.9 kB / 0.6992 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.6715, allocations: 60.42 kB / 0.6992 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.313e-05/0.6716, allocations: 27.97 kB / 0.6993 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002838/0.6745, allocations: 1.45 MB / 0.7007 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.41e-07/0.6745, allocations: 0 / 0.7007 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003943/0.6784, allocations: 1.045 MB / 0.7017 GB, free: 400 kB / 0.5294 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.002333/0.6808, allocations: 0.8455 MB / 0.7025 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004724/0.6855, allocations: 2.173 MB / 0.7046 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6856, allocations: 4.125 kB / 0.7046 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.6869, allocations: 0.5604 MB / 0.7052 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005181/0.6921, allocations: 0.9052 MB / 0.7061 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008271/0.7004, allocations: 4.562 MB / 0.7105 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.7021, allocations: 1.539 MB / 0.712 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007565/0.7029, allocations: 175.4 kB / 0.7122 GB, free: 5.691 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.7029, allocations: 0 / 0.7122 GB, free: 5.691 MB / 0.545 GB Notification: Performance of Templates: time 0.3506/1.053, allocations: 39.59 MB / 0.7509 GB, free: 160.9 MB / 0.5762 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)