Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.408/2.408, 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.001281/0.001281, allocations: 183.4 kB / 326.3 MB, free: 2.855 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.344/2.344, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009015/0.0009014, allocations: 88.42 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004476, allocations: 11.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1883, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9896/1.178, allocations: 277.5 MB / 1.171 GB, free: 16.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0885/1.267, allocations: 46.46 MB / 1.216 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01113/1.278, allocations: 250.3 kB / 1.216 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.01216/1.29, allocations: 2.379 MB / 1.218 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.03096/1.321, allocations: 7.235 MB / 1.226 GB, free: 15.09 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.02145/1.342, allocations: 4.633 MB / 1.23 GB, free: 10.48 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.03807/1.381, allocations: 21.05 MB / 1.251 GB, free: 5.383 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01313/1.394, allocations: 4.495 MB / 1.255 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01967/1.413, allocations: 5.891 MB / 1.261 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01187/1.425, allocations: 4.6 MB / 1.265 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.002463/1.428, allocations: 232 kB / 1.265 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01446/1.442, allocations: 2.639 MB / 1.268 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.003307/1.446, allocations: 1.046 MB / 1.269 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.004692/1.45, allocations: 1.373 MB / 1.27 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01672/1.467, allocations: 7.384 MB / 1.278 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.467, allocations: 0 / 1.278 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.675e-06/1.467, allocations: 0 / 1.278 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003509/1.468, allocations: 0 / 1.278 GB, free: 9.582 MB / 0.7917 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.01833/1.486, allocations: 6.233 MB / 1.284 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.486, allocations: 8.031 kB / 1.284 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/1.49, allocations: 0.7881 MB / 1.284 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01626/1.506, allocations: 4.939 MB / 1.289 GB, free: 13.4 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004425/1.507, allocations: 320.1 kB / 1.29 GB, free: 13.08 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/1.508, allocations: 436 kB / 1.29 GB, free: 12.66 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/1.521, allocations: 4.315 MB / 1.294 GB, free: 8.059 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001731/1.521, allocations: 19.78 kB / 1.294 GB, free: 8.039 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006397/1.522, allocations: 172 kB / 1.294 GB, free: 7.871 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/1.522, allocations: 120 kB / 1.295 GB, free: 7.754 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/1.532, allocations: 2.937 MB / 1.297 GB, free: 4.812 MB / 0.8074 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.04361/1.576, allocations: 25 MB / 1.322 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005356/1.582, allocations: 2.751 MB / 1.324 GB, free: 6.797 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002897/1.584, allocations: 0.9954 MB / 1.325 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004585/1.589, allocations: 3.92 MB / 1.329 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/1.589, allocations: 64.56 kB / 1.329 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=217): time 7.764e-06/1.589, allocations: 3.984 kB / 1.329 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of matching and sorting (n=217): time 0.01807/1.607, allocations: 4.057 MB / 1.333 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/1.607, allocations: 73.41 kB / 1.333 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/1.618, allocations: 4.164 MB / 1.337 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005625/1.618, allocations: 81.7 kB / 1.338 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0036/1.622, allocations: 2.765 MB / 1.34 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.623, allocations: 0.7625 MB / 1.341 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/1.623, allocations: 56 kB / 1.341 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002725/1.624, allocations: 419.8 kB / 1.341 GB, free: 4.453 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/1.626, allocations: 0.7865 MB / 1.342 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003579/1.63, allocations: 1.802 MB / 1.344 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/1.633, allocations: 1.077 MB / 1.345 GB, free: 336 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.337e-05/1.633, allocations: 8 kB / 1.345 GB, free: 328 kB / 0.8542 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01298/1.646, allocations: 3.5 MB / 1.348 GB, free: 12.75 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006719/1.647, allocations: 0.7454 MB / 1.349 GB, free: 11.7 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-05/1.647, allocations: 20 kB / 1.349 GB, free: 11.68 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004556/1.651, allocations: 0.5648 MB / 1.35 GB, free: 11.1 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003817/1.655, allocations: 0.5577 MB / 1.35 GB, free: 10.54 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/1.659, allocations: 2.685 MB / 1.353 GB, free: 7.754 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007913/1.667, allocations: 0.6217 MB / 1.354 GB, free: 7.129 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007288/1.667, allocations: 132 kB / 1.354 GB, free: 7 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.667, allocations: 7.938 kB / 1.354 GB, free: 6.992 MB / 0.8699 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009081/1.676, allocations: 2.805 MB / 1.356 GB, free: 4.133 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-05/1.677, allocations: 20 kB / 1.356 GB, free: 4.113 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/1.678, allocations: 375.7 kB / 1.357 GB, free: 3.738 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/1.682, allocations: 0.5577 MB / 1.357 GB, free: 3.18 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/1.695, allocations: 7.699 MB / 1.365 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007598/1.703, allocations: 0.5755 MB / 1.365 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006472/1.704, allocations: 132 kB / 1.366 GB, free: 10.19 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003312/1.707, allocations: 0.9967 MB / 1.366 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001686/1.709, allocations: 0.4978 MB / 1.367 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/1.72, allocations: 3.58 MB / 1.37 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007181/1.727, allocations: 2.431 MB / 1.373 GB, free: 2.543 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/1.727, allocations: 0 / 1.373 GB, free: 2.543 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003621/1.731, allocations: 0.9623 MB / 1.374 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001452/1.732, allocations: 43.94 kB / 1.374 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00636/1.739, allocations: 369.5 kB / 1.374 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006971/1.739, allocations: 193.7 kB / 1.374 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01049/1.75, allocations: 2.856 MB / 1.377 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01156/1.761, allocations: 4.084 MB / 1.381 GB, free: 9.902 MB / 0.9011 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00289/1.764, allocations: 1.046 MB / 1.382 GB, free: 8.855 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00722/1.772, allocations: 2.729 MB / 1.385 GB, free: 6.152 MB / 0.9011 GB Notification: Performance of Backend: time 3.015e-06/1.772, allocations: 3.938 kB / 1.385 GB, free: 6.148 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01744/1.789, allocations: 5.143 MB / 1.39 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of SimCode: time 0.03932/1.828, allocations: 13.27 MB / 1.403 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of Templates: time 0.8758/2.704, allocations: 103.9 MB / 1.504 GB, free: 280 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)