Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.314/1.314, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 175.6 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205 MB / 0.5767 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000707/0.000707, allocations: 97.91 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 10.09 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1545, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.03413/0.1886, allocations: 52.74 MB / 0.9482 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01862/0.2073, allocations: 18.13 MB / 0.966 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.2094, allocations: 79.5 kB / 0.966 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.212, allocations: 0.9954 MB / 0.967 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004919/0.2169, allocations: 2.13 MB / 0.9691 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00714/0.2241, allocations: 3.063 MB / 0.9721 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006405/0.2305, allocations: 6.023 MB / 0.978 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/0.2324, allocations: 1.337 MB / 0.9793 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002699/0.2352, allocations: 1.629 MB / 0.9808 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.2367, allocations: 1.33 MB / 0.9821 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002047/0.2369, allocations: 71.98 kB / 0.9822 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/0.2402, allocations: 1.805 MB / 0.984 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004253/0.2406, allocations: 434.1 kB / 0.9844 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009047/0.2415, allocations: 0.9204 MB / 0.9853 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003656/0.2452, allocations: 3.298 MB / 0.9885 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2452, allocations: 4 kB / 0.9885 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2452, allocations: 3.938 kB / 0.9885 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.42e-05/0.2452, allocations: 4 kB / 0.9885 GB, free: 5.859 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003357/0.2486, allocations: 2.202 MB / 0.9907 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2486, allocations: 16.02 kB / 0.9907 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.2506, allocations: 493.6 kB / 0.9912 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.2535, allocations: 1.636 MB / 0.9928 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003652/0.2539, allocations: 162.2 kB / 0.9929 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.2541, allocations: 123.9 kB / 0.993 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.2566, allocations: 1.403 MB / 0.9944 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.2567, allocations: 3.938 kB / 0.9944 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-05/0.2568, allocations: 48 kB / 0.9945 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.2568, allocations: 28 kB / 0.9945 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.2594, allocations: 1.144 MB / 0.9956 GB, free: 14.39 MB / 0.6511 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.008033/0.2675, allocations: 7.01 MB / 1.002 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/0.2698, allocations: 1.435 MB / 1.004 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000904/0.2708, allocations: 438.2 kB / 1.004 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004044/0.2748, allocations: 3.075 MB / 1.007 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009897/0.2758, allocations: 466.9 kB / 1.008 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003262/0.2762, allocations: 91.25 kB / 1.008 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 4.709e-06/0.2762, allocations: 0 / 1.008 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.003005/0.2792, allocations: 1.295 MB / 1.009 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.2793, allocations: 141.1 kB / 1.009 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.281, allocations: 1.582 MB / 1.011 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.2811, allocations: 41.7 kB / 1.011 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00062/0.2817, allocations: 0.8842 MB / 1.012 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.2819, allocations: 220.9 kB / 1.012 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.282, allocations: 89.67 kB / 1.012 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2821, allocations: 345.9 kB / 1.012 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009047/0.283, allocations: 417.7 kB / 1.013 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.2842, allocations: 0.8125 MB / 1.013 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.2862, allocations: 1.182 MB / 1.015 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2863, allocations: 4 kB / 1.015 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002634/0.2889, allocations: 1.364 MB / 1.016 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002454/0.2892, allocations: 445.5 kB / 1.016 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.2892, allocations: 15.98 kB / 1.016 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.2892, allocations: 19.94 kB / 1.016 GB, free: 7.449 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009489/0.2902, allocations: 259.6 kB / 1.017 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.2902, allocations: 27.86 kB / 1.017 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.2913, allocations: 136.4 kB / 1.017 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/0.2914, allocations: 51.98 kB / 1.017 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-06/0.2915, allocations: 4 kB / 1.017 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002276/0.2937, allocations: 1.173 MB / 1.018 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.2938, allocations: 16 kB / 1.018 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2938, allocations: 16 kB / 1.018 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009022/0.2947, allocations: 264 kB / 1.018 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.2947, allocations: 19.94 kB / 1.018 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.2958, allocations: 128.5 kB / 1.018 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-05/0.2959, allocations: 51.98 kB / 1.018 GB, free: 5.316 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (121): * Single equations (assignments): 117 * Array equations: 2 * 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.0007139/0.2966, allocations: 496.5 kB / 1.019 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.2968, allocations: 165.8 kB / 1.019 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.2994, allocations: 1.167 MB / 1.02 GB, free: 3.477 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001911/0.3013, allocations: 1.009 MB / 1.021 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3013, allocations: 4 kB / 1.021 GB, free: 2.41 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/0.3019, allocations: 334.7 kB / 1.022 GB, free: 2.062 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.302, allocations: 12 kB / 1.022 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008502/0.3029, allocations: 99.91 kB / 1.022 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.303, allocations: 52.58 kB / 1.022 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002559/0.3056, allocations: 1.111 MB / 1.023 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003068/0.3087, allocations: 1.678 MB / 1.024 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009214/0.3096, allocations: 445 kB / 1.025 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001367/0.311, allocations: 1.061 MB / 1.026 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of Backend: time 3.31e-07/0.311, allocations: 0 / 1.026 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005033/0.316, allocations: 2.294 MB / 1.028 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of SimCode: time 0.006136/0.3222, allocations: 4.469 MB / 1.033 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of Templates: time 0.3431/0.6653, allocations: 35.09 MB / 1.067 GB, free: 141 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)