Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001044/0.001044, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.868/1.868, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 68.23 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2036, allocations: 114.6 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5742/0.7779, allocations: 300.3 MB / 1.078 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.06109/0.839, allocations: 49.56 MB / 1.126 GB, free: 11.7 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008711/0.8477, allocations: 286.3 kB / 1.127 GB, free: 11.42 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.009145/0.8569, allocations: 3.415 MB / 1.13 GB, free: 7.984 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.4374/1.294, allocations: 8.984 MB / 1.139 GB, free: 67.53 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.015/1.309, allocations: 6.66 MB / 1.145 GB, free: 67.53 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02657/1.336, allocations: 18.39 MB / 1.163 GB, free: 67.51 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/1.347, allocations: 5.827 MB / 1.169 GB, free: 66.81 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02059/1.367, allocations: 7.393 MB / 1.176 GB, free: 66.79 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01133/1.379, allocations: 5.1 MB / 1.181 GB, free: 65.97 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002359/1.381, allocations: 0.5694 MB / 1.182 GB, free: 65.97 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01415/1.395, allocations: 4.378 MB / 1.186 GB, free: 65.97 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003606/1.399, allocations: 1.506 MB / 1.188 GB, free: 65.71 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008644/1.407, allocations: 3.731 MB / 1.191 GB, free: 64.69 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0165/1.424, allocations: 10.42 MB / 1.201 GB, free: 63.37 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.424, allocations: 3.188 kB / 1.201 GB, free: 63.37 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.084e-06/1.424, allocations: 4 kB / 1.201 GB, free: 63.37 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002909/1.424, allocations: 0 / 1.201 GB, free: 63.37 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01245/1.437, allocations: 7.46 MB / 1.209 GB, free: 59.97 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.437, allocations: 11.08 kB / 1.209 GB, free: 59.97 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/1.439, allocations: 0.7823 MB / 1.209 GB, free: 59.6 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009416/1.448, allocations: 5.293 MB / 1.215 GB, free: 58.48 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/1.449, allocations: 326.3 kB / 1.215 GB, free: 58.47 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005139/1.449, allocations: 436.4 kB / 1.215 GB, free: 58.46 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006403/1.455, allocations: 4.379 MB / 1.22 GB, free: 57.66 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.287e-05/1.456, allocations: 13.97 kB / 1.22 GB, free: 57.66 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000327/1.456, allocations: 172.2 kB / 1.22 GB, free: 57.66 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-05/1.456, allocations: 119.4 kB / 1.22 GB, free: 57.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004667/1.461, allocations: 2.969 MB / 1.223 GB, free: 57.62 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.02347/1.484, allocations: 25.12 MB / 1.247 GB, free: 41.76 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/1.487, allocations: 2.766 MB / 1.25 GB, free: 40.57 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/1.488, allocations: 0.9906 MB / 1.251 GB, free: 40.55 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/1.49, allocations: 3.913 MB / 1.255 GB, free: 36.14 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/1.49, allocations: 65.56 kB / 1.255 GB, free: 36.09 MB / 0.92 GB Notification: Performance of pre-optimization done (n=217): time 5e-06/1.49, allocations: 3.562 kB / 1.255 GB, free: 36.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=217): time 0.009757/1.5, allocations: 4.071 MB / 1.259 GB, free: 34.8 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/1.5, allocations: 75.52 kB / 1.259 GB, free: 34.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005446/1.505, allocations: 4.267 MB / 1.263 GB, free: 33.69 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003273/1.506, allocations: 81.08 kB / 1.263 GB, free: 33.66 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00158/1.507, allocations: 2.767 MB / 1.266 GB, free: 32.52 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006163/1.508, allocations: 0.7577 MB / 1.267 GB, free: 31.96 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006618/1.508, allocations: 0.5814 MB / 1.267 GB, free: 31.85 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 3.639e-05/1.509, allocations: 301.1 kB / 1.267 GB, free: 31.55 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/1.51, allocations: 0.8288 MB / 1.268 GB, free: 31.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/1.511, allocations: 1.824 MB / 1.27 GB, free: 30.11 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/1.514, allocations: 2.519 MB / 1.272 GB, free: 29.13 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/1.514, allocations: 10.47 kB / 1.272 GB, free: 29.13 MB / 0.92 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007053/1.521, allocations: 3.551 MB / 1.276 GB, free: 27.32 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/1.522, allocations: 21.91 kB / 1.276 GB, free: 27.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/1.522, allocations: 21.69 kB / 1.276 GB, free: 27.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/1.524, allocations: 0.577 MB / 1.277 GB, free: 26.78 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/1.526, allocations: 0.5551 MB / 1.277 GB, free: 26.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/1.527, allocations: 2.692 MB / 1.28 GB, free: 23.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/1.531, allocations: 333.5 kB / 1.28 GB, free: 23.47 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/1.531, allocations: 135.3 kB / 1.28 GB, free: 23.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002637/1.534, allocations: 1.564 MB / 1.282 GB, free: 22.45 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001591/1.535, allocations: 1.808 MB / 1.283 GB, free: 20.44 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002643/1.538, allocations: 2.459 MB / 1.286 GB, free: 17.75 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.001e-05/1.538, allocations: 11.94 kB / 1.286 GB, free: 17.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005502/1.543, allocations: 3.312 MB / 1.289 GB, free: 14.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.544, allocations: 19.94 kB / 1.289 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/1.544, allocations: 20 kB / 1.289 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008461/1.544, allocations: 374.2 kB / 1.29 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.546, allocations: 0.557 MB / 1.29 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005826/1.552, allocations: 8.458 MB / 1.298 GB, free: 4.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/1.556, allocations: 315 kB / 1.299 GB, free: 4.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/1.556, allocations: 128 kB / 1.299 GB, free: 4.176 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006215/1.557, allocations: 367.4 kB / 1.299 GB, free: 3.848 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.558, allocations: 0.5017 MB / 1.3 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005469/1.563, allocations: 3.554 MB / 1.303 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003814/1.567, allocations: 2.439 MB / 1.305 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.567, allocations: 0 / 1.305 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002343/1.569, allocations: 0.8846 MB / 1.306 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007014/1.57, allocations: 43.94 kB / 1.306 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/1.572, allocations: 127.8 kB / 1.306 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/1.573, allocations: 185.7 kB / 1.307 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005237/1.578, allocations: 2.822 MB / 1.309 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006262/1.584, allocations: 4.097 MB / 1.313 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001531/1.586, allocations: 1.051 MB / 1.314 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.004413/1.59, allocations: 2.827 MB / 1.317 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of Backend: time 6.52e-07/1.59, allocations: 4 kB / 1.317 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.601, allocations: 5.207 MB / 1.322 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of SimCode: time 0.02029/1.621, allocations: 11.44 MB / 1.333 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of Templates: time 0.1701/1.791, allocations: 109.5 MB / 1.44 GB, free: 5.633 MB / 1.061 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)