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.001072/0.001073, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.374/1.374, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.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.781/1.781, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001489/0.001489, allocations: 69.98 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2139, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6785/0.8924, allocations: 300.3 MB / 1.077 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.07074/0.9632, allocations: 49.55 MB / 1.125 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01178/0.975, allocations: 290.2 kB / 1.125 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.9863, allocations: 3.419 MB / 1.129 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0276/1.014, allocations: 8.993 MB / 1.137 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01887/1.033, allocations: 6.615 MB / 1.144 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02523/1.058, allocations: 18.38 MB / 1.162 GB, free: 20 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/1.069, allocations: 5.818 MB / 1.168 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0177/1.087, allocations: 7.357 MB / 1.175 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01066/1.098, allocations: 5.079 MB / 1.18 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.004704/1.102, allocations: 0.5664 MB / 1.18 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01597/1.118, allocations: 4.379 MB / 1.184 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003113/1.121, allocations: 1.506 MB / 1.186 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.009344/1.131, allocations: 3.736 MB / 1.19 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02065/1.151, allocations: 10.31 MB / 1.2 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.152, allocations: 0 / 1.2 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.104e-06/1.152, allocations: 0 / 1.2 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004134/1.152, allocations: 0 / 1.2 GB, free: 9.086 MB / 0.9044 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.01879/1.171, allocations: 7.467 MB / 1.207 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.171, allocations: 12.03 kB / 1.207 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/1.175, allocations: 0.7803 MB / 1.208 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/1.187, allocations: 4.995 MB / 1.213 GB, free: 11.61 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/1.187, allocations: 324.1 kB / 1.213 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007899/1.188, allocations: 439.8 kB / 1.213 GB, free: 10.86 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00861/1.197, allocations: 4.381 MB / 1.218 GB, free: 6.191 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.684e-05/1.197, allocations: 11.88 kB / 1.218 GB, free: 6.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004183/1.197, allocations: 176 kB / 1.218 GB, free: 6.008 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/1.198, allocations: 112 kB / 1.218 GB, free: 5.898 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005549/1.203, allocations: 2.965 MB / 1.221 GB, free: 2.93 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.03511/1.238, allocations: 25.29 MB / 1.246 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/1.242, allocations: 2.76 MB / 1.248 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/1.243, allocations: 0.9954 MB / 1.249 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003012/1.246, allocations: 3.908 MB / 1.253 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/1.246, allocations: 68.5 kB / 1.253 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=217): time 3.597e-06/1.246, allocations: 0 / 1.253 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=217): time 0.01069/1.257, allocations: 4.068 MB / 1.257 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/1.257, allocations: 77.41 kB / 1.257 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007054/1.264, allocations: 4.262 MB / 1.261 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0005977/1.265, allocations: 81.7 kB / 1.261 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.002387/1.267, allocations: 2.788 MB / 1.264 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.268, allocations: 0.7625 MB / 1.265 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008047/1.269, allocations: 0.5801 MB / 1.265 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.269, allocations: 301.1 kB / 1.266 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/1.27, allocations: 0.8231 MB / 1.266 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4141/1.684, allocations: 1.827 MB / 1.268 GB, free: 355.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004502/1.689, allocations: 2.513 MB / 1.271 GB, free: 354.2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.93e-05/1.689, allocations: 6.656 kB / 1.271 GB, free: 354.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009779/1.699, allocations: 3.552 MB / 1.274 GB, free: 353.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/1.699, allocations: 15.98 kB / 1.274 GB, free: 353.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.18e-05/1.699, allocations: 21.5 kB / 1.274 GB, free: 353.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/1.701, allocations: 0.5967 MB / 1.275 GB, free: 353.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/1.703, allocations: 0.5524 MB / 1.275 GB, free: 353.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/1.705, allocations: 2.692 MB / 1.278 GB, free: 351.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004988/1.71, allocations: 352.3 kB / 1.278 GB, free: 351.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005208/1.711, allocations: 138.8 kB / 1.278 GB, free: 351.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003394/1.714, allocations: 1.561 MB / 1.28 GB, free: 350.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002043/1.716, allocations: 1.796 MB / 1.282 GB, free: 349.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0035/1.72, allocations: 2.467 MB / 1.284 GB, free: 347.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.365e-05/1.72, allocations: 5.031 kB / 1.284 GB, free: 347.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.008502/1.728, allocations: 3.311 MB / 1.287 GB, free: 346.4 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/1.729, allocations: 15.62 kB / 1.287 GB, free: 346.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/1.729, allocations: 21.06 kB / 1.287 GB, free: 346.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/1.73, allocations: 372.7 kB / 1.288 GB, free: 346.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/1.732, allocations: 0.5584 MB / 1.288 GB, free: 346.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007672/1.74, allocations: 8.452 MB / 1.297 GB, free: 338.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005347/1.745, allocations: 340.6 kB / 1.297 GB, free: 338.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006068/1.746, allocations: 137 kB / 1.297 GB, free: 338.8 MB / 0.9669 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.0008742/1.747, allocations: 374.8 kB / 1.297 GB, free: 338.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002226/1.749, allocations: 0.5065 MB / 1.298 GB, free: 338.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006764/1.756, allocations: 3.567 MB / 1.301 GB, free: 336.8 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.636e-05/1.756, allocations: 40.77 kB / 1.301 GB, free: 336.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.756, allocations: 6.766 kB / 1.301 GB, free: 336.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004056/1.76, allocations: 2.431 MB / 1.304 GB, free: 335.8 MB / 0.9669 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 postOpt removeSimpleEquations (simulation): time 0.01628/1.776, allocations: 8.259 MB / 1.312 GB, free: 331.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.776, allocations: 0 / 1.312 GB, free: 331.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/1.778, allocations: 365.8 kB / 1.312 GB, free: 331.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006376/1.778, allocations: 313.5 kB / 1.312 GB, free: 331.6 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/1.778, allocations: 59.39 kB / 1.313 GB, free: 331.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/1.78, allocations: 2.494 MB / 1.315 GB, free: 329.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.78, allocations: 11.81 kB / 1.315 GB, free: 329.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006831/1.787, allocations: 4.331 MB / 1.319 GB, free: 327.3 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/1.789, allocations: 0.8761 MB / 1.32 GB, free: 326.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.79, allocations: 51.72 kB / 1.32 GB, free: 326.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002461/1.793, allocations: 122.3 kB / 1.32 GB, free: 326.7 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/1.793, allocations: 154.1 kB / 1.32 GB, free: 326.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/1.793, allocations: 111.4 kB / 1.32 GB, free: 326.7 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004787/1.798, allocations: 2.826 MB / 1.323 GB, free: 325.7 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/1.798, allocations: 2.469 kB / 1.323 GB, free: 325.7 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.011/1.809, allocations: 3.241 MB / 1.326 GB, free: 325.1 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * 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,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002952/1.812, allocations: 1.507 MB / 1.328 GB, free: 324.7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.823, allocations: 4.866 MB / 1.333 GB, free: 322.9 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/1.823, allocations: 3.781 kB / 1.333 GB, free: 322.9 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/1.825, allocations: 1.236 MB / 1.334 GB, free: 322.4 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01194/1.837, allocations: 2.679 MB / 1.336 GB, free: 321.2 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/1.851, allocations: 9.126 MB / 1.345 GB, free: 312.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/1.853, allocations: 2.861 MB / 1.348 GB, free: 309.4 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004966/1.858, allocations: 1.16 MB / 1.349 GB, free: 308.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009494/1.859, allocations: 411.2 kB / 1.35 GB, free: 307.9 MB / 0.9669 GB Notification: Performance of SimCode: time 8.41e-07/1.859, allocations: 3.938 kB / 1.35 GB, free: 307.9 MB / 0.9669 GB Notification: Performance of Templates: time 0.1477/2.007, allocations: 109.2 MB / 1.456 GB, free: 200.2 MB / 0.9669 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)