Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.329/1.329, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009543/0.0009544, allocations: 174.1 kB / 326.5 MB, free: 2.703 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.372/1.372, allocations: 205 MB / 0.5767 GB, free: 21 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.000706/0.000706, allocations: 82.36 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 18.77 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1499, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.04308/0.193, allocations: 66.33 MB / 0.9615 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02547/0.2185, allocations: 19.76 MB / 0.9808 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.2214, allocations: 79.5 kB / 0.9809 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0032/0.2246, allocations: 1.034 MB / 0.9819 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006243/0.2309, allocations: 2.425 MB / 0.9843 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007632/0.2385, allocations: 3.125 MB / 0.9873 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007678/0.2462, allocations: 6.993 MB / 0.9941 GB, free: 172 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.2488, allocations: 1.542 MB / 0.9957 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003298/0.2521, allocations: 1.758 MB / 0.9974 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.2543, allocations: 1.458 MB / 0.9988 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.2545, allocations: 76 kB / 0.9989 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/0.258, allocations: 1.922 MB / 1.001 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004297/0.2584, allocations: 446 kB / 1.001 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009793/0.2594, allocations: 1.01 MB / 1.002 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.2631, allocations: 3.59 MB / 1.006 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2631, allocations: 0 / 1.006 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2631, allocations: 0 / 1.006 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.2631, allocations: 3.938 kB / 1.006 GB, free: 4.285 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003542/0.2667, allocations: 2.337 MB / 1.008 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2667, allocations: 8.031 kB / 1.008 GB, free: 1.863 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.268, allocations: 386 kB / 1.008 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.2708, allocations: 1.796 MB / 1.01 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/0.2712, allocations: 166.4 kB / 1.01 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.2714, allocations: 132 kB / 1.01 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.2738, allocations: 1.472 MB / 1.012 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.2738, allocations: 4 kB / 1.012 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.2739, allocations: 55.94 kB / 1.012 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.274, allocations: 36 kB / 1.012 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/0.2763, allocations: 1.145 MB / 1.013 GB, free: 12.53 MB / 0.6667 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.00764/0.284, allocations: 7.381 MB / 1.02 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.2861, allocations: 1.366 MB / 1.022 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009091/0.287, allocations: 461.1 kB / 1.022 GB, free: 2.641 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003461/0.2905, allocations: 2.608 MB / 1.025 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009959/0.2915, allocations: 0.4908 MB / 1.025 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003163/0.2918, allocations: 91.25 kB / 1.025 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=63): time 2.165e-06/0.2918, allocations: 0 / 1.025 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.002915/0.2948, allocations: 1.288 MB / 1.026 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.2949, allocations: 192.4 kB / 1.027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.2966, allocations: 1.525 MB / 1.028 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.201e-05/0.2967, allocations: 45.7 kB / 1.028 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006766/0.2974, allocations: 0.8997 MB / 1.029 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.2975, allocations: 220.8 kB / 1.029 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.2977, allocations: 101.6 kB / 1.029 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2978, allocations: 345.9 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008906/0.2987, allocations: 413.7 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.2998, allocations: 0.7771 MB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.3019, allocations: 1.148 MB / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3019, allocations: 4 kB / 1.032 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002512/0.3044, allocations: 1.346 MB / 1.033 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.3046, allocations: 413.7 kB / 1.034 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.3047, allocations: 11.98 kB / 1.034 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.3047, allocations: 16 kB / 1.034 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/0.3057, allocations: 255.6 kB / 1.034 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/0.3057, allocations: 19.92 kB / 1.034 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.3068, allocations: 144.3 kB / 1.034 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.3069, allocations: 55.97 kB / 1.034 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/0.3069, allocations: 4 kB / 1.034 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002222/0.3091, allocations: 1.144 MB / 1.035 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.3092, allocations: 16 kB / 1.035 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3092, allocations: 12 kB / 1.035 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009012/0.3101, allocations: 256 kB / 1.035 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.3101, allocations: 15.94 kB / 1.035 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.3111, allocations: 136.5 kB / 1.036 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/0.3112, allocations: 51.98 kB / 1.036 GB, free: 3.832 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (122): * Single equations (assignments): 118 * 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.0006115/0.3118, allocations: 0.4889 MB / 1.036 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.3121, allocations: 169.8 kB / 1.036 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.3144, allocations: 1.116 MB / 1.037 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001715/0.3161, allocations: 0.8238 MB / 1.038 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3161, allocations: 0 / 1.038 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.3166, allocations: 334.7 kB / 1.039 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.3168, allocations: 15.98 kB / 1.039 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008968/0.3177, allocations: 99.91 kB / 1.039 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3178, allocations: 60.52 kB / 1.039 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002606/0.3204, allocations: 1.238 MB / 1.04 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002961/0.3234, allocations: 1.786 MB / 1.042 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008553/0.3243, allocations: 441 kB / 1.042 GB, free: 13.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001234/0.3255, allocations: 1.017 MB / 1.043 GB, free: 12.18 MB / 0.698 GB Notification: Performance of Backend: time 3.61e-07/0.3255, allocations: 0 / 1.043 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004306/0.3298, allocations: 2.031 MB / 1.045 GB, free: 10.12 MB / 0.698 GB Notification: Performance of SimCode: time 0.00653/0.3364, allocations: 4.693 MB / 1.05 GB, free: 5.379 MB / 0.698 GB Notification: Performance of Templates: time 0.3525/0.6889, allocations: 37.45 MB / 1.086 GB, free: 137.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)