Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.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.DXCoils.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001767/0.001767, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.504/1.504, allocations: 205.1 MB / 222 MB, free: 4.762 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.6301/0.6301, allocations: 95.48 MB / 364.8 MB, free: 10.05 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.00128/0.00128, allocations: 59.92 kB / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3392, allocations: 69.07 MB / 0.5017 GB, free: 17.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp): time 0.002745/0.3419, allocations: 1.747 MB / 0.5034 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.594/0.936, allocations: 158.3 MB / 0.658 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.9362, allocations: 0 / 0.658 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.9365, allocations: 51.7 kB / 0.6581 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.9375, allocations: 359.8 kB / 0.6584 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 9.972e-05/0.9376, allocations: 49.64 kB / 0.6585 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.9378, allocations: 136 kB / 0.6586 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.9379, allocations: 17.06 kB / 0.6586 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.9379, allocations: 46.97 kB / 0.6587 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.9381, allocations: 64.25 kB / 0.6587 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.9381, allocations: 8.125 kB / 0.6587 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.9392, allocations: 490.9 kB / 0.6592 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.9392, allocations: 21.69 kB / 0.6592 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.9393, allocations: 48.94 kB / 0.6593 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006742/0.94, allocations: 351.6 kB / 0.6596 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.94, allocations: 0 / 0.6596 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.555e-06/0.94, allocations: 4 kB / 0.6596 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.94, allocations: 1.203 kB / 0.6596 GB, free: 12.5 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007885/0.9408, allocations: 481.2 kB / 0.6601 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.9409, allocations: 11.19 kB / 0.6601 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.9412, allocations: 98.17 kB / 0.6602 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.9415, allocations: 301.8 kB / 0.6605 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.619e-05/0.9416, allocations: 163.7 kB / 0.6606 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.523e-05/0.9416, allocations: 158.8 kB / 0.6608 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/0.9417, allocations: 104.9 kB / 0.6609 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.9418, allocations: 75.28 kB / 0.6609 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/0.9418, allocations: 150.6 kB / 0.6611 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.087e-05/0.9419, allocations: 162 kB / 0.6612 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.758e-05/0.942, allocations: 153 kB / 0.6614 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.9425, allocations: 0.4978 MB / 0.6619 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.9427, allocations: 171.3 kB / 0.662 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.9427, allocations: 87.39 kB / 0.6621 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.887e-05/0.9428, allocations: 75.28 kB / 0.6622 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.773e-05/0.9429, allocations: 111 kB / 0.6623 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.9429, allocations: 0 / 0.6623 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001205/0.943, allocations: 40.33 kB / 0.6623 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/0.9431, allocations: 128.7 kB / 0.6624 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.9434, allocations: 210 kB / 0.6626 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.9434, allocations: 29.7 kB / 0.6627 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.9435, allocations: 101.6 kB / 0.6628 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.9435, allocations: 0 / 0.6628 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.9436, allocations: 24.23 kB / 0.6628 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.9437, allocations: 322.2 kB / 0.6631 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.9438, allocations: 21.89 kB / 0.6631 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.9438, allocations: 22.89 kB / 0.6631 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.776e-05/0.9439, allocations: 34 kB / 0.6632 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9439, allocations: 1.906 kB / 0.6632 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005814/0.9445, allocations: 130.9 kB / 0.6633 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9445, allocations: 9.438 kB / 0.6633 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9445, allocations: 2.672 kB / 0.6633 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.9452, allocations: 96.91 kB / 0.6634 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.9453, allocations: 3.469 kB / 0.6634 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004801/0.9457, allocations: 0.5557 MB / 0.664 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.559e-05/0.9459, allocations: 14.5 kB / 0.664 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.9459, allocations: 3.531 kB / 0.664 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.075e-05/0.946, allocations: 103 kB / 0.6641 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.842e-05/0.946, allocations: 13.67 kB / 0.6641 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.498e-05/0.9461, allocations: 35.94 kB / 0.6641 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.9461, allocations: 0 / 0.6641 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002227/0.9463, allocations: 107.3 kB / 0.6642 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.9463, allocations: 8.922 kB / 0.6642 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.9463, allocations: 6.172 kB / 0.6642 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/0.9467, allocations: 66.11 kB / 0.6643 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.197e-05/0.9467, allocations: 3.984 kB / 0.6643 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.9481, allocations: 1.345 MB / 0.6656 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.9482, allocations: 3.938 kB / 0.6656 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.9482, allocations: 10.62 kB / 0.6656 GB, free: 7.059 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.9484, allocations: 255.5 kB / 0.6659 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.9485, allocations: 114.3 kB / 0.666 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.097e-05/0.9486, allocations: 115.9 kB / 0.6661 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.382e-05/0.9486, allocations: 186.5 kB / 0.6663 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-05/0.9487, allocations: 176.3 kB / 0.6664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-05/0.9488, allocations: 182.7 kB / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.9492, allocations: 446.1 kB / 0.667 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.872e-05/0.9493, allocations: 109.1 kB / 0.6671 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.9493, allocations: 104.9 kB / 0.6672 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.294e-05/0.9494, allocations: 180.3 kB / 0.6674 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/0.9495, allocations: 184.6 kB / 0.6676 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001064/0.9496, allocations: 176.3 kB / 0.6678 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.972e-05/0.9497, allocations: 182 kB / 0.6679 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.9499, allocations: 317.2 kB / 0.6682 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.9501, allocations: 200.9 kB / 0.6684 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.9502, allocations: 182.8 kB / 0.6686 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.9503, allocations: 111.7 kB / 0.6687 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.9504, allocations: 176.3 kB / 0.6689 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.9505, allocations: 108.9 kB / 0.669 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001671/0.9507, allocations: 154.9 kB / 0.6691 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9507, allocations: 0 / 0.6691 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000584/0.9513, allocations: 91.67 kB / 0.6692 GB, free: 3.434 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006637/0.9519, allocations: 280.7 kB / 0.6695 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005583/0.9525, allocations: 187.8 kB / 0.6697 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9525, allocations: 1.094 kB / 0.6697 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-06/0.9525, allocations: 4 kB / 0.6697 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.9533, allocations: 0.5419 MB / 0.6702 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.9539, allocations: 314.8 kB / 0.6705 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.9544, allocations: 0.6978 MB / 0.6712 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.581e-05/0.9545, allocations: 14.66 kB / 0.6712 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.9545, allocations: 13.28 kB / 0.6712 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.9545, allocations: 0 / 0.6712 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of Templates: time 0.007835/0.9624, allocations: 3.177 MB / 0.6743 GB, free: 1.316 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe 2>&1)