Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0165/0.0165, allocations: 105.7 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002044/0.002044, allocations: 181.7 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.417/2.417, allocations: 194.5 MB / 211.2 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.384/2.384, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005151/0.0005153, allocations: 12 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7463, allocations: 98.72 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.1064/0.8528, allocations: 51.58 MB / 0.7338 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02489/0.8777, allocations: 9.838 MB / 0.7434 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003253/0.881, allocations: 75.38 kB / 0.7435 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004247/0.8854, allocations: 0.7464 MB / 0.7442 GB, free: 0 / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009157/0.8946, allocations: 1.804 MB / 0.746 GB, free: 14.19 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00881/0.9034, allocations: 1.661 MB / 0.7476 GB, free: 12.53 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.007863/0.9113, allocations: 2.421 MB / 0.75 GB, free: 10.09 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003042/0.9144, allocations: 0.9881 MB / 0.7509 GB, free: 9.09 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006142/0.9206, allocations: 1.491 MB / 0.7524 GB, free: 7.594 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/0.9234, allocations: 0.8479 MB / 0.7532 GB, free: 6.742 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0006213/0.9241, allocations: 56 kB / 0.7533 GB, free: 6.688 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00475/0.9288, allocations: 1.014 MB / 0.7542 GB, free: 5.672 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008912/0.9298, allocations: 270.8 kB / 0.7545 GB, free: 5.406 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.9308, allocations: 360.8 kB / 0.7548 GB, free: 5.047 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004682/0.9355, allocations: 1.668 MB / 0.7565 GB, free: 3.379 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9356, allocations: 0 / 0.7565 GB, free: 3.379 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.076e-06/0.9356, allocations: 0 / 0.7565 GB, free: 3.379 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.713e-05/0.9357, allocations: 0 / 0.7565 GB, free: 3.379 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005522/0.9413, allocations: 1.883 MB / 0.7583 GB, free: 1.418 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.9413, allocations: 11.97 kB / 0.7583 GB, free: 1.406 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000529/0.9419, allocations: 156.5 kB / 0.7585 GB, free: 1.246 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006258/0.9482, allocations: 0.6416 MB / 0.7591 GB, free: 0.6016 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004301/0.9525, allocations: 1.173 MB / 0.7602 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.9527, allocations: 81.78 kB / 0.7603 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004338/0.9532, allocations: 107.9 kB / 0.7604 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005457/0.9586, allocations: 1.32 MB / 0.7617 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/0.9587, allocations: 0 / 0.7617 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.9589, allocations: 40 kB / 0.7618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.959, allocations: 24 kB / 0.7618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006823/0.9658, allocations: 1.237 MB / 0.763 GB, free: 12.51 MB / 0.5886 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.01504/0.9809, allocations: 6.366 MB / 0.7692 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005647/0.9866, allocations: 1.213 MB / 0.7704 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002755/0.9894, allocations: 2.248 MB / 0.7726 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003384/0.9928, allocations: 0.7914 MB / 0.7734 GB, free: 0.8359 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=96): time 5.29e-06/0.9929, allocations: 0 / 0.7734 GB, free: 0.8359 MB / 0.5886 GB Notification: Performance of matching and sorting (n=96): time 0.01132/1.004, allocations: 2.21 MB / 0.7755 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/1.004, allocations: 161.1 kB / 0.7757 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/1.008, allocations: 1.219 MB / 0.7769 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003217/1.009, allocations: 41.7 kB / 0.7769 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/1.01, allocations: 0.7054 MB / 0.7776 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007089/1.011, allocations: 307.5 kB / 0.7779 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/1.011, allocations: 16 kB / 0.7779 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002518/1.011, allocations: 349.9 kB / 0.7782 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004098/1.015, allocations: 0.5445 MB / 0.7788 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004242/1.02, allocations: 0.7492 MB / 0.7795 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/1.024, allocations: 0.6677 MB / 0.7801 GB, free: 9.652 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/1.024, allocations: 4 kB / 0.7801 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.009509/1.033, allocations: 1.597 MB / 0.7817 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001138/1.034, allocations: 1.729 MB / 0.7834 GB, free: 6.129 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/1.034, allocations: 4 kB / 0.7834 GB, free: 6.125 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.475e-05/1.034, allocations: 8 kB / 0.7834 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003215/1.038, allocations: 279.6 kB / 0.7837 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/1.038, allocations: 11.98 kB / 0.7837 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/1.041, allocations: 226.9 kB / 0.7839 GB, free: 5.609 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/1.042, allocations: 51.97 kB / 0.784 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.042, allocations: 5.406 kB / 0.784 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009169/1.051, allocations: 1.504 MB / 0.7854 GB, free: 4.027 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/1.051, allocations: 8.094 kB / 0.7854 GB, free: 4.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.051, allocations: 11.94 kB / 0.7854 GB, free: 4.008 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/1.054, allocations: 271.6 kB / 0.7857 GB, free: 3.742 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.727e-05/1.054, allocations: 11.98 kB / 0.7857 GB, free: 3.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/1.058, allocations: 223 kB / 0.7859 GB, free: 3.512 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000373/1.058, allocations: 51.97 kB / 0.786 GB, free: 3.461 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001663/1.06, allocations: 0.4918 MB / 0.7865 GB, free: 2.941 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006867/1.061, allocations: 162 kB / 0.7866 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/1.072, allocations: 2.147 MB / 0.7887 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.964e-05/1.072, allocations: 15.98 kB / 0.7887 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.072, allocations: 0 / 0.7887 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/1.072, allocations: 7.969 kB / 0.7887 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/1.086, allocations: 3.394 MB / 0.792 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.086, allocations: 4.031 kB / 0.7921 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/1.089, allocations: 215.7 kB / 0.7923 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.13e-05/1.089, allocations: 7.953 kB / 0.7923 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/1.089, allocations: 43.95 kB / 0.7923 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.089, allocations: 4 kB / 0.7923 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.089, allocations: 4 kB / 0.7923 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/1.1, allocations: 2.837 MB / 0.7951 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.101, allocations: 390.5 kB / 0.7955 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/1.102, allocations: 24.12 kB / 0.7955 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/1.104, allocations: 175.7 kB / 0.7956 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/1.105, allocations: 68.91 kB / 0.7957 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/1.105, allocations: 43.97 kB / 0.7958 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002105/1.107, allocations: 0.8188 MB / 0.7966 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.452e-06/1.107, allocations: 0 / 0.7966 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003681/1.111, allocations: 0.8462 MB / 0.7974 GB, free: 7.566 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01349/1.124, allocations: 3.903 MB / 0.8012 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.135, allocations: 2.74 MB / 0.8039 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/1.135, allocations: 0 / 0.8039 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003825/1.139, allocations: 1.078 MB / 0.8049 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005321/1.144, allocations: 0.6115 MB / 0.8055 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03649/1.181, allocations: 12.76 MB / 0.818 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/1.182, allocations: 1.302 MB / 0.8192 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002863/1.185, allocations: 407.6 kB / 0.8196 GB, free: 120 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001659/1.187, allocations: 0.6673 MB / 0.8203 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.187, allocations: 3.938 kB / 0.8203 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1295/1.316, allocations: 44.01 MB / 0.8633 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000311/1.317, allocations: 238.1 kB / 0.8635 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.425/5.742, allocations: 3.938 kB / 0.8635 GB, free: 3.773 MB / 0.6823 GB