Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.205/2.205, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.00134/0.00134, allocations: 173 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.292/2.292, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0009277/0.0009277, allocations: 94.28 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.000503, allocations: 17.16 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1942, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.07564/0.2699, allocations: 61.82 MB / 0.9599 GB, free: 3.527 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03851/0.3085, allocations: 18.13 MB / 0.9776 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003455/0.312, allocations: 75.5 kB / 0.9777 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004353/0.3164, allocations: 0.8153 MB / 0.9784 GB, free: 472 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009158/0.3256, allocations: 2.106 MB / 0.9805 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01244/0.3381, allocations: 2.742 MB / 0.9832 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01659/0.3547, allocations: 6.031 MB / 0.9891 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004154/0.3589, allocations: 1.458 MB / 0.9905 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005511/0.3645, allocations: 1.665 MB / 0.9921 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003678/0.3682, allocations: 1.373 MB / 0.9935 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007125/0.369, allocations: 76 kB / 0.9935 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005991/0.375, allocations: 1.548 MB / 0.995 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.3763, allocations: 434.1 kB / 0.9955 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.3776, allocations: 440.6 kB / 0.9959 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006354/0.384, allocations: 2.72 MB / 0.9985 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.384, allocations: 0 / 0.9985 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.026e-06/0.384, allocations: 0 / 0.9985 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.605e-05/0.3842, allocations: 4 kB / 0.9985 GB, free: 11.82 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.007581/0.3917, allocations: 2.353 MB / 1.001 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.3918, allocations: 12.03 kB / 1.001 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/0.3946, allocations: 389.9 kB / 1.001 GB, free: 9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006045/0.4007, allocations: 1.723 MB / 1.003 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007583/0.4015, allocations: 170.3 kB / 1.003 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004374/0.402, allocations: 143.9 kB / 1.003 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004754/0.4067, allocations: 1.457 MB / 1.005 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.99e-05/0.4069, allocations: 4 kB / 1.005 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.4071, allocations: 59.88 kB / 1.005 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.704e-05/0.4072, allocations: 32 kB / 1.005 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004797/0.412, allocations: 1.125 MB / 1.006 GB, free: 4.141 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.01608/0.4281, allocations: 7.397 MB / 1.013 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/0.4323, allocations: 1.359 MB / 1.014 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.4342, allocations: 462.6 kB / 1.015 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007078/0.4413, allocations: 2.589 MB / 1.017 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001955/0.4433, allocations: 0.4986 MB / 1.018 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009102/0.4443, allocations: 91.27 kB / 1.018 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 5.079e-06/0.4443, allocations: 4 kB / 1.018 GB, free: 6.809 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.005846/0.4502, allocations: 1.276 MB / 1.019 GB, free: 5.504 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.4503, allocations: 196.4 kB / 1.019 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/0.4539, allocations: 1.502 MB / 1.021 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002504/0.4542, allocations: 45.7 kB / 1.021 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.4555, allocations: 0.9036 MB / 1.022 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.00043/0.456, allocations: 220.8 kB / 1.022 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/0.4561, allocations: 24 kB / 1.022 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.4563, allocations: 341.9 kB / 1.022 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.458, allocations: 381.8 kB / 1.023 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.4603, allocations: 0.7693 MB / 1.023 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.4625, allocations: 0.4923 MB / 1.024 GB, free: 420 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/0.4626, allocations: 7.984 kB / 1.024 GB, free: 412 kB / 0.6667 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005538/0.4681, allocations: 1.315 MB / 1.025 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004017/0.4686, allocations: 411.1 kB / 1.026 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.01e-05/0.4686, allocations: 12 kB / 1.026 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.966e-05/0.4687, allocations: 12 kB / 1.026 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.4708, allocations: 255.7 kB / 1.026 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.87e-05/0.4709, allocations: 23.88 kB / 1.026 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.4734, allocations: 144.4 kB / 1.026 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/0.4737, allocations: 55.97 kB / 1.026 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4737, allocations: 4 kB / 1.026 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004483/0.4782, allocations: 1.144 MB / 1.027 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/0.4783, allocations: 8 kB / 1.027 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.4783, allocations: 16 kB / 1.027 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.4803, allocations: 252 kB / 1.027 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.931e-05/0.4804, allocations: 23.92 kB / 1.027 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.4828, allocations: 138.8 kB / 1.028 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/0.483, allocations: 55.92 kB / 1.028 GB, free: 12.4 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 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001388/0.4844, allocations: 0.4967 MB / 1.028 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005468/0.485, allocations: 165.9 kB / 1.028 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004582/0.4896, allocations: 1.108 MB / 1.029 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003411/0.4931, allocations: 0.8237 MB / 1.03 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.4931, allocations: 0 / 1.03 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.4943, allocations: 346.7 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/0.4947, allocations: 20 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.4967, allocations: 103.8 kB / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/0.4969, allocations: 60.5 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005172/0.5021, allocations: 1.223 MB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006054/0.5082, allocations: 1.782 MB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001703/0.51, allocations: 433 kB / 1.034 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002526/0.5125, allocations: 1.006 MB / 1.035 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of Backend: time 1.052e-06/0.5126, allocations: 0 / 1.035 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008225/0.5208, allocations: 1.986 MB / 1.037 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of SimCode: time 0.01356/0.5344, allocations: 4.703 MB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of Templates: time 0.6672/1.202, allocations: 36.44 MB / 1.077 GB, free: 140.3 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)