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.00142/0.00142, allocations: 109.4 kB / 15.69 MB, free: 128 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.001354/0.001354, allocations: 186.2 kB / 16.62 MB, free: 6.613 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.373/1.373, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.783/1.783, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001469/0.00147, allocations: 74.91 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2179, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6897/0.9076, allocations: 300.3 MB / 1.077 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.07136/0.979, allocations: 49.55 MB / 1.126 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0134/0.9926, allocations: 282.3 kB / 1.126 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01151/1.004, allocations: 3.423 MB / 1.129 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.02996/1.034, allocations: 8.988 MB / 1.138 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0205/1.055, allocations: 6.662 MB / 1.145 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.027/1.082, allocations: 18.39 MB / 1.163 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01032/1.092, allocations: 5.827 MB / 1.168 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01943/1.112, allocations: 7.393 MB / 1.176 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01172/1.123, allocations: 5.098 MB / 1.181 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002704/1.126, allocations: 0.5664 MB / 1.181 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/1.141, allocations: 4.383 MB / 1.185 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003271/1.144, allocations: 1.502 MB / 1.187 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.008149/1.152, allocations: 3.732 MB / 1.19 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01938/1.172, allocations: 10.42 MB / 1.201 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.172, allocations: 0 / 1.201 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.665e-06/1.172, allocations: 4 kB / 1.201 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002892/1.172, allocations: 3.938 kB / 1.201 GB, free: 8.312 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.01375/1.186, allocations: 7.467 MB / 1.208 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.186, allocations: 12.03 kB / 1.208 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/1.188, allocations: 0.7765 MB / 1.209 GB, free: 15.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/1.199, allocations: 5.294 MB / 1.214 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/1.2, allocations: 320.1 kB / 1.214 GB, free: 10.22 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006395/1.2, allocations: 443.9 kB / 1.215 GB, free: 9.789 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007419/1.208, allocations: 4.377 MB / 1.219 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.852e-05/1.208, allocations: 11.88 kB / 1.219 GB, free: 5.113 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003488/1.208, allocations: 172 kB / 1.219 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/1.208, allocations: 119.9 kB / 1.219 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004984/1.213, allocations: 2.957 MB / 1.222 GB, free: 1.867 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.02862/1.242, allocations: 25.14 MB / 1.247 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/1.245, allocations: 2.763 MB / 1.249 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/1.246, allocations: 0.9915 MB / 1.25 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00344/1.25, allocations: 3.912 MB / 1.254 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.9e-05/1.25, allocations: 60.56 kB / 1.254 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=217): time 4.498e-06/1.25, allocations: 0 / 1.254 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=217): time 0.0105/1.26, allocations: 4.072 MB / 1.258 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.26, allocations: 77.34 kB / 1.258 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006293/1.267, allocations: 4.269 MB / 1.262 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004673/1.267, allocations: 81.7 kB / 1.262 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.002124/1.269, allocations: 2.763 MB / 1.265 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008821/1.27, allocations: 0.7586 MB / 1.266 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007527/1.271, allocations: 0.584 MB / 1.266 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/1.271, allocations: 305.1 kB / 1.267 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/1.272, allocations: 0.8231 MB / 1.268 GB, free: 4 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.487/1.76, allocations: 1.826 MB / 1.269 GB, free: 355.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003913/1.763, allocations: 2.512 MB / 1.272 GB, free: 354.4 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/1.763, allocations: 5.875 kB / 1.272 GB, free: 354.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008168/1.772, allocations: 3.556 MB / 1.275 GB, free: 354 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/1.772, allocations: 14.53 kB / 1.275 GB, free: 354 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/1.772, allocations: 20.91 kB / 1.275 GB, free: 354 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002409/1.774, allocations: 0.5831 MB / 1.276 GB, free: 353.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.776, allocations: 0.5517 MB / 1.276 GB, free: 353.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/1.778, allocations: 2.695 MB / 1.279 GB, free: 351.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/1.782, allocations: 330.3 kB / 1.279 GB, free: 351.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002825/1.782, allocations: 135.9 kB / 1.28 GB, free: 351.4 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002934/1.785, allocations: 1.564 MB / 1.281 GB, free: 350.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001789/1.787, allocations: 1.809 MB / 1.283 GB, free: 349.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003049/1.79, allocations: 2.465 MB / 1.285 GB, free: 347.4 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.329e-05/1.79, allocations: 8.781 kB / 1.285 GB, free: 347.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007512/1.797, allocations: 3.303 MB / 1.288 GB, free: 346.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/1.797, allocations: 15.05 kB / 1.288 GB, free: 346.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-05/1.797, allocations: 25.48 kB / 1.288 GB, free: 346.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/1.799, allocations: 371.7 kB / 1.289 GB, free: 346.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/1.801, allocations: 0.5535 MB / 1.289 GB, free: 346.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009365/1.81, allocations: 8.443 MB / 1.298 GB, free: 338.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005466/1.816, allocations: 320.6 kB / 1.298 GB, free: 338.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/1.816, allocations: 136.3 kB / 1.298 GB, free: 338.7 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.0009515/1.817, allocations: 372.4 kB / 1.298 GB, free: 338.4 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001619/1.819, allocations: 0.5044 MB / 1.299 GB, free: 338.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007609/1.826, allocations: 3.565 MB / 1.302 GB, free: 336.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-05/1.826, allocations: 35.98 kB / 1.302 GB, free: 336.7 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.826, allocations: 1.875 kB / 1.302 GB, free: 336.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004219/1.83, allocations: 2.442 MB / 1.305 GB, free: 335.7 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.01588/1.846, allocations: 8.19 MB / 1.313 GB, free: 331.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.846, allocations: 5 kB / 1.313 GB, free: 331.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.848, allocations: 366.9 kB / 1.313 GB, free: 331.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006611/1.848, allocations: 310.3 kB / 1.313 GB, free: 331.6 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/1.849, allocations: 67.34 kB / 1.314 GB, free: 331.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/1.85, allocations: 2.49 MB / 1.316 GB, free: 329.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.85, allocations: 0 / 1.316 GB, free: 329.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006924/1.857, allocations: 4.344 MB / 1.32 GB, free: 327.3 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00223/1.859, allocations: 0.873 MB / 1.321 GB, free: 326.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000897/1.86, allocations: 53.56 kB / 1.321 GB, free: 326.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002422/1.862, allocations: 114.6 kB / 1.321 GB, free: 326.7 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/1.863, allocations: 152.1 kB / 1.321 GB, free: 326.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/1.863, allocations: 112.7 kB / 1.321 GB, free: 326.6 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004209/1.867, allocations: 2.827 MB / 1.324 GB, free: 325.6 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.6e-07/1.867, allocations: 0 / 1.324 GB, free: 325.6 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.009707/1.877, allocations: 3.237 MB / 1.327 GB, free: 325 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.002992/1.88, allocations: 1.511 MB / 1.329 GB, free: 324.7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00728/1.887, allocations: 4.426 MB / 1.333 GB, free: 322.9 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.887, allocations: 3.594 kB / 1.333 GB, free: 322.9 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001801/1.889, allocations: 1.244 MB / 1.334 GB, free: 322.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01191/1.901, allocations: 2.681 MB / 1.337 GB, free: 321.1 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/1.914, allocations: 8.954 MB / 1.346 GB, free: 312.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/1.916, allocations: 2.869 MB / 1.349 GB, free: 309.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004187/1.92, allocations: 1.163 MB / 1.35 GB, free: 308.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007955/1.921, allocations: 411.2 kB / 1.35 GB, free: 307.8 MB / 0.9669 GB Notification: Performance of SimCode: time 9.22e-07/1.921, allocations: 0 / 1.35 GB, free: 307.8 MB / 0.9669 GB Notification: Performance of Templates: time 0.1352/2.056, allocations: 105.1 MB / 1.453 GB, free: 204.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)