Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001487/0.001487, allocations: 112.3 kB / 16.42 MB, free: 6.473 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.001607/0.001607, allocations: 186.7 kB / 17.35 MB, free: 5.715 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 64.09 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7155, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05293/0.7684, allocations: 53.33 MB / 1.141 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.7922, allocations: 15.2 MB / 1.156 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003271/0.7955, allocations: 87.75 kB / 1.156 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003569/0.7991, allocations: 1.136 MB / 1.157 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007718/0.8068, allocations: 2.452 MB / 1.159 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006673/0.8135, allocations: 2.284 MB / 1.161 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007557/0.8211, allocations: 4.641 MB / 1.166 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002987/0.8241, allocations: 1.616 MB / 1.167 GB, free: 14.3 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005011/0.8291, allocations: 1.963 MB / 1.169 GB, free: 13.39 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/0.832, allocations: 1.357 MB / 1.171 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006596/0.8327, allocations: 167.8 kB / 1.171 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004775/0.8375, allocations: 1.849 MB / 1.173 GB, free: 11.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009308/0.8384, allocations: 0.5197 MB / 1.173 GB, free: 11.44 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002231/0.8406, allocations: 1.039 MB / 1.174 GB, free: 10.72 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006867/0.8475, allocations: 3.323 MB / 1.177 GB, free: 8.508 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8476, allocations: 0 / 1.177 GB, free: 8.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8476, allocations: 1.094 kB / 1.177 GB, free: 8.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001062/0.8477, allocations: 0 / 1.177 GB, free: 8.508 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005782/0.8535, allocations: 2.524 MB / 1.18 GB, free: 6.613 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.8535, allocations: 9.906 kB / 1.18 GB, free: 6.613 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002831/0.8564, allocations: 0.5319 MB / 1.18 GB, free: 6.371 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/0.8603, allocations: 1.706 MB / 1.182 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/0.8604, allocations: 87.64 kB / 1.182 GB, free: 5.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.8606, allocations: 120.2 kB / 1.182 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.8633, allocations: 1.375 MB / 1.184 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.8633, allocations: 1.25 kB / 1.184 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.8634, allocations: 48.38 kB / 1.184 GB, free: 4.086 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.897e-05/0.8635, allocations: 47.03 kB / 1.184 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/0.8663, allocations: 1.122 MB / 1.185 GB, free: 3.527 MB / 0.92 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.01309/0.8794, allocations: 7.118 MB / 1.192 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.8822, allocations: 1.397 MB / 1.193 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.8833, allocations: 440.4 kB / 1.194 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006197/0.8895, allocations: 3.139 MB / 1.197 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/0.8908, allocations: 469.2 kB / 1.197 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=60): time 3.547e-06/0.8908, allocations: 0 / 1.197 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60): time 0.003931/0.8947, allocations: 1.268 MB / 1.198 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.8948, allocations: 66.05 kB / 1.198 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/0.8977, allocations: 1.531 MB / 1.2 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.8978, allocations: 42.89 kB / 1.2 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000861/0.8987, allocations: 0.8864 MB / 1.201 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.899, allocations: 212.7 kB / 1.201 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003993/0.8994, allocations: 206.8 kB / 1.201 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8995, allocations: 343.2 kB / 1.202 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.9007, allocations: 401.5 kB / 1.202 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.9021, allocations: 0.7675 MB / 1.203 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.9046, allocations: 1.157 MB / 1.204 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/0.9047, allocations: 3.312 kB / 1.204 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003495/0.9082, allocations: 1.334 MB / 1.205 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.364e-05/0.9082, allocations: 36.77 kB / 1.205 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.9083, allocations: 15.12 kB / 1.205 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/0.9083, allocations: 16 kB / 1.205 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.9094, allocations: 265.7 kB / 1.205 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.558e-05/0.9095, allocations: 24.38 kB / 1.205 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.911, allocations: 146.7 kB / 1.206 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.9112, allocations: 57.22 kB / 1.206 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001718/0.9129, allocations: 0.6833 MB / 1.206 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001381/0.9143, allocations: 0.7646 MB / 1.207 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002434/0.9167, allocations: 1.125 MB / 1.208 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-05/0.9168, allocations: 2.375 kB / 1.208 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003426/0.9202, allocations: 1.292 MB / 1.209 GB, free: 396 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.9203, allocations: 41.7 kB / 1.209 GB, free: 348 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.9203, allocations: 16 kB / 1.209 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.9203, allocations: 16 kB / 1.209 GB, free: 316 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.9214, allocations: 259.6 kB / 1.21 GB, free: 56 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/0.9214, allocations: 23.94 kB / 1.21 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.923, allocations: 132 kB / 1.21 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.9231, allocations: 56.17 kB / 1.21 GB, free: 15.84 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0003944/0.9235, allocations: 243.9 kB / 1.21 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005275/0.9241, allocations: 169.8 kB / 1.21 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/0.9273, allocations: 1.162 MB / 1.211 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002238/0.9295, allocations: 0.9939 MB / 1.212 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.9295, allocations: 0 / 1.212 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009594/0.9305, allocations: 326.8 kB / 1.213 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004816/0.931, allocations: 19.88 kB / 1.213 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.9321, allocations: 71.83 kB / 1.213 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.9323, allocations: 44.59 kB / 1.213 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003145/0.9354, allocations: 1.087 MB / 1.214 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003763/0.9392, allocations: 1.658 MB / 1.216 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00104/0.9403, allocations: 437 kB / 1.216 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001842/0.9422, allocations: 1.028 MB / 1.217 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of Backend: time 8.71e-07/0.9422, allocations: 3.938 kB / 1.217 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007128/0.9493, allocations: 2.159 MB / 1.219 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of SimCode: time 0.007397/0.9567, allocations: 3.793 MB / 1.223 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of Templates: time 0.06086/1.018, allocations: 35.64 MB / 1.258 GB, free: 15.4 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)