Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.HeatExchangers.Examples.HeaterCoolerPrescribed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed") translateModel(Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.001051, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.009695/0.009695, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.75/1.75, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6455/0.6455, allocations: 95.64 MB / 366.4 MB, free: 10.32 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006185/0.0006186, allocations: 24.7 kB / 447.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4032, allocations: 70.33 MB / 0.5057 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed): time 0.7017/1.105, allocations: 192.7 MB / 0.6939 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01737/1.122, allocations: 10.2 MB / 0.7038 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003951/1.127, allocations: 79.19 kB / 0.7039 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002302/1.129, allocations: 0.5936 MB / 0.7045 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00599/1.135, allocations: 1.497 MB / 0.7059 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005761/1.141, allocations: 1.659 MB / 0.7076 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007742/1.148, allocations: 5.118 MB / 0.7125 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/1.15, allocations: 1.147 MB / 0.7137 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/1.153, allocations: 1.076 MB / 0.7147 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/1.154, allocations: 1.115 MB / 0.7158 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/1.155, allocations: 55.56 kB / 0.7159 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/1.158, allocations: 1.063 MB / 0.7169 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/1.158, allocations: 298.5 kB / 0.7172 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/1.159, allocations: 0.8046 MB / 0.718 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004797/1.164, allocations: 2.624 MB / 0.7205 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.164, allocations: 0 / 0.7205 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/1.164, allocations: 0 / 0.7205 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.096e-05/1.164, allocations: 0 / 0.7205 GB, free: 5.703 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.003838/1.168, allocations: 1.876 MB / 0.7224 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.168, allocations: 15.98 kB / 0.7224 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/1.169, allocations: 210.7 kB / 0.7226 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/1.171, allocations: 1.242 MB / 0.7238 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/1.171, allocations: 82.11 kB / 0.7239 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/1.171, allocations: 107.9 kB / 0.724 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/1.173, allocations: 1.251 MB / 0.7252 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/1.173, allocations: 3.938 kB / 0.7252 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/1.174, allocations: 44 kB / 0.7252 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/1.174, allocations: 28 kB / 0.7253 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/1.175, allocations: 0.929 MB / 0.7262 GB, free: 15.75 MB / 0.5137 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.007017/1.182, allocations: 5.362 MB / 0.7314 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/1.184, allocations: 0.6611 MB / 0.7321 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/1.184, allocations: 354.6 kB / 0.7324 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/1.185, allocations: 0.8695 MB / 0.7332 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009377/1.186, allocations: 475.5 kB / 0.7337 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=72): time 4.459e-06/1.186, allocations: 3.938 kB / 0.7337 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=75): time 0.00632/1.193, allocations: 2.609 MB / 0.7363 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/1.193, allocations: 230.1 kB / 0.7365 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/1.195, allocations: 1.289 MB / 0.7377 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/1.195, allocations: 37.7 kB / 0.7378 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/1.196, allocations: 0.7188 MB / 0.7385 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/1.196, allocations: 258.9 kB / 0.7387 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/1.196, allocations: 85.67 kB / 0.7388 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.196, allocations: 341.9 kB / 0.7391 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/1.197, allocations: 321.8 kB / 0.7394 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008117/1.198, allocations: 0.5932 MB / 0.74 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/1.199, allocations: 0.9523 MB / 0.7409 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.199, allocations: 0 / 0.7409 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002509/1.202, allocations: 1.253 MB / 0.7422 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002597/1.202, allocations: 322.3 kB / 0.7425 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.202, allocations: 15.94 kB / 0.7425 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007699/1.203, allocations: 162.4 kB / 0.7426 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.204, allocations: 207.7 kB / 0.7428 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/1.208, allocations: 3.476 MB / 0.7462 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/1.211, allocations: 99.98 kB / 0.7463 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/1.211, allocations: 43.98 kB / 0.7464 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.211, allocations: 4 kB / 0.7464 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003036/1.214, allocations: 1.134 MB / 0.7475 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/1.214, allocations: 7.984 kB / 0.7475 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004265/1.214, allocations: 126.5 kB / 0.7476 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.215, allocations: 196.2 kB / 0.7478 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005142/1.221, allocations: 4.438 MB / 0.7521 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/1.223, allocations: 87.84 kB / 0.7522 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/1.223, allocations: 40 kB / 0.7523 GB, free: 3.301 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.local_reset,con1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001177/1.224, allocations: 465.5 kB / 0.7527 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004792/1.225, allocations: 154.1 kB / 0.7528 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/1.228, allocations: 1.109 MB / 0.7539 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/1.228, allocations: 15.92 kB / 0.7539 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.228, allocations: 0 / 0.7539 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/1.228, allocations: 4 kB / 0.7539 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005544/1.233, allocations: 2.162 MB / 0.7561 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.233, allocations: 0 / 0.7561 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009222/1.234, allocations: 123.8 kB / 0.7562 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008245/1.235, allocations: 117.6 kB / 0.7563 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.347e-05/1.235, allocations: 20 kB / 0.7563 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/1.238, allocations: 1.997 MB / 0.7583 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.238, allocations: 3.938 kB / 0.7583 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004009/1.242, allocations: 1.435 MB / 0.7597 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.243, allocations: 323.1 kB / 0.76 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005417/1.244, allocations: 20 kB / 0.76 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/1.245, allocations: 63.86 kB / 0.76 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/1.245, allocations: 44.67 kB / 0.7601 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/1.246, allocations: 35.92 kB / 0.7601 GB, free: 10.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002587/1.248, allocations: 0.8897 MB / 0.761 GB, free: 10.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.71e-07/1.248, allocations: 0 / 0.761 GB, free: 10.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004528/1.253, allocations: 0.723 MB / 0.7617 GB, free: 9.312 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002024/1.255, allocations: 475.7 kB / 0.7622 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005239/1.26, allocations: 2.057 MB / 0.7642 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.26, allocations: 1.312 kB / 0.7642 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/1.261, allocations: 0.5753 MB / 0.7647 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006175/1.268, allocations: 0.6913 MB / 0.7654 GB, free: 5.449 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/1.275, allocations: 3.164 MB / 0.7685 GB, free: 2.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.276, allocations: 1.234 MB / 0.7697 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002181/1.279, allocations: 289.1 kB / 0.77 GB, free: 0.707 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/1.279, allocations: 107.4 kB / 0.7701 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of SimCode: time 1.713e-06/1.279, allocations: 0 / 0.7701 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of Templates: time 0.07274/1.352, allocations: 28.65 MB / 0.798 GB, free: 4.23 MB / 0.5762 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.pipe 2>&1) Environment - environmentSimulation: