Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 251.5 MB / 267.4 MB, free: 11.03 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.0008903/0.0008902, allocations: 177.3 kB / 326.5 MB, free: 2.672 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.483/1.483, allocations: 205 MB / 0.5767 GB, free: 20.88 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.0007713/0.0007713, allocations: 92.55 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 8.344 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1689, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.03283/0.2017, allocations: 52.74 MB / 0.9483 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01943/0.2212, allocations: 18.13 MB / 0.966 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.2237, allocations: 75.5 kB / 0.966 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.2265, allocations: 0.9855 MB / 0.967 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005414/0.232, allocations: 2.129 MB / 0.9691 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007625/0.2396, allocations: 3.072 MB / 0.9721 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006578/0.2462, allocations: 6.022 MB / 0.978 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.248, allocations: 1.337 MB / 0.9793 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.2507, allocations: 1.626 MB / 0.9808 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.2521, allocations: 1.337 MB / 0.9822 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.2523, allocations: 72 kB / 0.9822 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.2555, allocations: 1.801 MB / 0.984 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004048/0.2559, allocations: 438 kB / 0.9844 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008393/0.2567, allocations: 0.9204 MB / 0.9853 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.2603, allocations: 3.294 MB / 0.9885 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2603, allocations: 0 / 0.9885 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2603, allocations: 0 / 0.9885 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.255e-05/0.2603, allocations: 0 / 0.9885 GB, free: 5.875 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.00344/0.2638, allocations: 2.222 MB / 0.9907 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2638, allocations: 8.031 kB / 0.9907 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.2658, allocations: 493.6 kB / 0.9912 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/0.2686, allocations: 1.644 MB / 0.9928 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/0.269, allocations: 158.2 kB / 0.9929 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.2692, allocations: 123.9 kB / 0.993 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.2717, allocations: 1.395 MB / 0.9944 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.2717, allocations: 7.938 kB / 0.9944 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.2718, allocations: 44 kB / 0.9944 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.2718, allocations: 32 kB / 0.9945 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.2744, allocations: 1.14 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.008106/0.2826, allocations: 7.01 MB / 1.002 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.285, allocations: 1.434 MB / 1.004 GB, free: 5.297 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009113/0.2859, allocations: 446.2 kB / 1.004 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004252/0.2902, allocations: 3.067 MB / 1.007 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.2912, allocations: 466.9 kB / 1.008 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003623/0.2916, allocations: 91.23 kB / 1.008 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 3.587e-06/0.2916, allocations: 0 / 1.008 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.003072/0.2947, allocations: 1.299 MB / 1.009 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.2948, allocations: 141.1 kB / 1.009 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.2966, allocations: 1.586 MB / 1.011 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.331e-05/0.2967, allocations: 49.7 kB / 1.011 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006627/0.2974, allocations: 0.8803 MB / 1.012 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.2975, allocations: 213 kB / 1.012 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.2977, allocations: 93.66 kB / 1.012 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2978, allocations: 345.9 kB / 1.012 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008899/0.2987, allocations: 409.8 kB / 1.013 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.2998, allocations: 0.8203 MB / 1.013 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.3019, allocations: 1.182 MB / 1.015 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3019, allocations: 0 / 1.015 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00254/0.3044, allocations: 1.368 MB / 1.016 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002457/0.3047, allocations: 441.2 kB / 1.016 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.3047, allocations: 12 kB / 1.016 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.3047, allocations: 16 kB / 1.016 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009483/0.3057, allocations: 267.6 kB / 1.017 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.3057, allocations: 23.88 kB / 1.017 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.3068, allocations: 140.4 kB / 1.017 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-05/0.3069, allocations: 55.97 kB / 1.017 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/0.3069, allocations: 4 kB / 1.017 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002235/0.3092, allocations: 1.169 MB / 1.018 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.3092, allocations: 12.59 kB / 1.018 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3092, allocations: 20 kB / 1.018 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.3101, allocations: 267.5 kB / 1.018 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.3101, allocations: 23.92 kB / 1.018 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009532/0.3111, allocations: 124.5 kB / 1.018 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/0.3112, 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.0006296/0.3118, allocations: 492.5 kB / 1.019 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.312, allocations: 173.8 kB / 1.019 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.3145, allocations: 1.167 MB / 1.02 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00188/0.3164, allocations: 1.017 MB / 1.021 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3164, allocations: 0 / 1.021 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/0.3168, allocations: 322.7 kB / 1.022 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.317, allocations: 20 kB / 1.022 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/0.3178, allocations: 99.89 kB / 1.022 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.318, allocations: 48.59 kB / 1.022 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002547/0.3205, allocations: 1.107 MB / 1.023 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003018/0.3235, allocations: 1.686 MB / 1.024 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000871/0.3244, allocations: 441 kB / 1.025 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001337/0.3258, allocations: 1.064 MB / 1.026 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of Backend: time 3.91e-07/0.3258, allocations: 0 / 1.026 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004919/0.3307, allocations: 2.297 MB / 1.028 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of SimCode: time 0.005804/0.3365, allocations: 4.458 MB / 1.033 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of Templates: time 0.3495/0.6861, allocations: 35.09 MB / 1.067 GB, free: 140.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)