Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_10_Buildings.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.001435/0.001435, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001551/0.001552, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.457/2.457, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 68.12 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7304/0.7318, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05323/0.7851, allocations: 53.77 MB / 1.22 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02659/0.8117, allocations: 17.01 MB / 1.236 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.8148, allocations: 91.5 kB / 1.237 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005884/0.8207, allocations: 1.943 MB / 1.238 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007403/0.8281, allocations: 2.611 MB / 1.241 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005941/0.8341, allocations: 2.357 MB / 1.243 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01092/0.845, allocations: 7.543 MB / 1.251 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002831/0.8479, allocations: 1.663 MB / 1.252 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004184/0.8521, allocations: 1.964 MB / 1.254 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.8544, allocations: 1.435 MB / 1.256 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005376/0.855, allocations: 180 kB / 1.256 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/0.8592, allocations: 2.024 MB / 1.258 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008492/0.8601, allocations: 0.6579 MB / 1.258 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.862, allocations: 1.224 MB / 1.26 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006015/0.868, allocations: 3.926 MB / 1.263 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.8681, allocations: 0 / 1.263 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8681, allocations: 3.938 kB / 1.263 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001015/0.8682, allocations: 4 kB / 1.263 GB, free: 1.102 MB / 0.9825 GB 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.006013/0.8742, allocations: 2.944 MB / 1.266 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.8742, allocations: 8.031 kB / 1.266 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.877, allocations: 0.5511 MB / 1.267 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004927/0.8819, allocations: 2.735 MB / 1.27 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-05/0.8821, allocations: 94.17 kB / 1.27 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.8823, allocations: 120 kB / 1.27 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.8851, allocations: 1.359 MB / 1.271 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.8851, allocations: 4 kB / 1.271 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.8852, allocations: 47.94 kB / 1.271 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.8853, allocations: 46.08 kB / 1.271 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002836/0.8881, allocations: 1.109 MB / 1.272 GB, free: 7.824 MB / 0.9981 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.009898/0.898, allocations: 7.457 MB / 1.28 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.9005, allocations: 1.328 MB / 1.281 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.9016, allocations: 423.4 kB / 1.281 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005597/0.9072, allocations: 3.164 MB / 1.284 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.9083, allocations: 430.9 kB / 1.285 GB, free: 10.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=59): time 5.951e-06/0.9083, allocations: 0 / 1.285 GB, free: 10.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=59): time 0.003377/0.9117, allocations: 1.252 MB / 1.286 GB, free: 8.734 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.9117, allocations: 63.97 kB / 1.286 GB, free: 8.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/0.9149, allocations: 2.129 MB / 1.288 GB, free: 6.504 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.234e-05/0.915, allocations: 37.7 kB / 1.288 GB, free: 6.461 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009131/0.9159, allocations: 1.018 MB / 1.289 GB, free: 5.434 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.9162, allocations: 217 kB / 1.289 GB, free: 5.219 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004525/0.9166, allocations: 310.5 kB / 1.29 GB, free: 4.906 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.9167, allocations: 301.1 kB / 1.29 GB, free: 4.609 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.9179, allocations: 0.5571 MB / 1.29 GB, free: 4.047 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.9195, allocations: 0.9962 MB / 1.291 GB, free: 2.863 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.9221, allocations: 1.444 MB / 1.293 GB, free: 1.254 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.9221, allocations: 4 kB / 1.293 GB, free: 1.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003624/0.9257, allocations: 1.775 MB / 1.295 GB, free: 15.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.9258, allocations: 33.7 kB / 1.295 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.9258, allocations: 12 kB / 1.295 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/0.9259, allocations: 20.69 kB / 1.295 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.927, allocations: 311.5 kB / 1.295 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.281e-05/0.9271, allocations: 27.92 kB / 1.295 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.9286, allocations: 182.5 kB / 1.295 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.9287, allocations: 59.98 kB / 1.295 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001869/0.9306, allocations: 0.9717 MB / 1.296 GB, free: 13.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001502/0.9321, allocations: 0.996 MB / 1.297 GB, free: 12.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002455/0.9345, allocations: 1.443 MB / 1.298 GB, free: 11.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.528e-06/0.9346, allocations: 4 kB / 1.299 GB, free: 11.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003485/0.938, allocations: 1.77 MB / 1.3 GB, free: 9.266 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.9381, allocations: 37.64 kB / 1.3 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.9381, allocations: 12 kB / 1.3 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.9381, allocations: 20 kB / 1.3 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.9393, allocations: 311.9 kB / 1.301 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-05/0.9393, allocations: 27.92 kB / 1.301 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.9408, allocations: 155.3 kB / 1.301 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.9409, allocations: 59.98 kB / 1.301 GB, free: 8.648 MB / 1.029 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 (154): * Single equations (assignments): 151 * 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.0003097/0.9412, allocations: 259.1 kB / 1.301 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003835/0.9416, allocations: 205.4 kB / 1.301 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/0.9444, allocations: 1.135 MB / 1.302 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002022/0.9465, allocations: 0.9543 MB / 1.303 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.9465, allocations: 3.938 kB / 1.303 GB, free: 6.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007734/0.9472, allocations: 386.2 kB / 1.304 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/0.9476, allocations: 15.94 kB / 1.304 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009966/0.9486, allocations: 71.84 kB / 1.304 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.9487, allocations: 48.48 kB / 1.304 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00283/0.9516, allocations: 1.036 MB / 1.305 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003305/0.9549, allocations: 1.621 MB / 1.306 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009412/0.9559, allocations: 420.3 kB / 1.307 GB, free: 2.398 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002405/0.9583, allocations: 1.416 MB / 1.308 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of Backend: time 5.41e-07/0.9583, allocations: 0 / 1.308 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00681/0.9651, allocations: 2.785 MB / 1.311 GB, free: 14.31 MB / 1.045 GB Notification: Performance of SimCode: time 0.008281/0.9734, allocations: 4.583 MB / 1.315 GB, free: 9.691 MB / 1.045 GB Notification: Performance of Templates: time 0.0727/1.046, allocations: 43.62 MB / 1.358 GB, free: 14.45 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)