Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.0128/0.01281, allocations: 89.77 kB / 15.04 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001939/0.001939, allocations: 169.9 kB / 15.92 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.362/2.362, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.318/2.318, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006929/0.0006931, allocations: 14.28 kB / 0.6243 GB, free: 28.42 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2568, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.04528/0.3022, allocations: 24.62 MB / 0.7521 GB, free: 1.504 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.3164, allocations: 5.843 MB / 0.7578 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.318, allocations: 39.69 kB / 0.7579 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002697/0.3208, allocations: 0.638 MB / 0.7585 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005134/0.326, allocations: 1.188 MB / 0.7596 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.005512/0.3315, allocations: 1.224 MB / 0.7608 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004122/0.3357, allocations: 1.564 MB / 0.7624 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/0.3375, allocations: 0.6586 MB / 0.763 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002831/0.3403, allocations: 0.8525 MB / 0.7638 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.342, allocations: 0.5718 MB / 0.7644 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002809/0.3423, allocations: 36 kB / 0.7644 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.3448, allocations: 0.5266 MB / 0.7649 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0005437/0.3454, allocations: 231.1 kB / 0.7652 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.346, allocations: 237 kB / 0.7654 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.3487, allocations: 1.033 MB / 0.7664 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3487, allocations: 0 / 0.7664 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.256e-06/0.3488, allocations: 7.938 kB / 0.7664 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.516e-05/0.3488, allocations: 0 / 0.7664 GB, free: 2.816 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004047/0.3529, allocations: 1.376 MB / 0.7677 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.3529, allocations: 12.03 kB / 0.7678 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002893/0.3532, allocations: 122.4 kB / 0.7679 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006317/0.3596, allocations: 0.6266 MB / 0.7685 GB, free: 0.6172 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.3619, allocations: 0.7781 MB / 0.7692 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/0.3621, allocations: 61.94 kB / 0.7693 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.3623, allocations: 75.91 kB / 0.7694 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004365/0.3667, allocations: 1.099 MB / 0.7705 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.3668, allocations: 4 kB / 0.7705 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.3669, allocations: 31.95 kB / 0.7705 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.367, allocations: 20 kB / 0.7705 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005958/0.3729, allocations: 1.02 MB / 0.7715 GB, free: 13.4 MB / 0.6042 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.009931/0.3829, allocations: 4.975 MB / 0.7764 GB, free: 8.129 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005578/0.3885, allocations: 0.9563 MB / 0.7773 GB, free: 7.168 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001968/0.3906, allocations: 1.596 MB / 0.7789 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003125/0.3937, allocations: 0.5885 MB / 0.7794 GB, free: 4.625 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 4.999e-06/0.3938, allocations: 4 kB / 0.7794 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.008843/0.4026, allocations: 1.508 MB / 0.7809 GB, free: 3.109 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.4028, allocations: 59.95 kB / 0.781 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.4049, allocations: 1.121 MB / 0.7821 GB, free: 1.902 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.4051, allocations: 41.7 kB / 0.7821 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006553/0.4058, allocations: 0.5551 MB / 0.7826 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/0.4061, allocations: 209.1 kB / 0.7828 GB, free: 1.086 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.4062, allocations: 16 kB / 0.7829 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4064, allocations: 334 kB / 0.7832 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002758/0.4092, allocations: 461.6 kB / 0.7836 GB, free: 292 kB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/0.4124, allocations: 0.7358 MB / 0.7843 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/0.4153, allocations: 497.8 kB / 0.7848 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.4154, allocations: 4 kB / 0.7848 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006794/0.4222, allocations: 1.294 MB / 0.7861 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.4223, allocations: 12.03 kB / 0.7861 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4223, allocations: 8 kB / 0.7861 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.123e-05/0.4224, allocations: 16 kB / 0.7861 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/0.4249, allocations: 271.6 kB / 0.7864 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.334e-05/0.425, allocations: 15.94 kB / 0.7864 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/0.4275, allocations: 218.9 kB / 0.7866 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.4278, allocations: 43.97 kB / 0.7866 GB, free: 13.05 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * 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.0008053/0.4286, allocations: 291.8 kB / 0.7869 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.429, allocations: 122.5 kB / 0.787 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007238/0.4363, allocations: 1.379 MB / 0.7884 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-05/0.4364, allocations: 15.98 kB / 0.7884 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.4364, allocations: 0 / 0.7884 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.4364, allocations: 7.922 kB / 0.7884 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00958/0.446, allocations: 2.394 MB / 0.7907 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.4461, allocations: 4 kB / 0.7907 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/0.4481, allocations: 195.9 kB / 0.7909 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/0.4482, allocations: 7.938 kB / 0.7909 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.4484, allocations: 23.97 kB / 0.791 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/0.4484, allocations: 4 kB / 0.791 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.4484, allocations: 7.953 kB / 0.791 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009891/0.4583, allocations: 2.082 MB / 0.793 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008588/0.4592, allocations: 287.2 kB / 0.7933 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/0.4596, allocations: 16 kB / 0.7933 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/0.4616, allocations: 123.9 kB / 0.7934 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.4619, allocations: 56.45 kB / 0.7935 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.462, allocations: 39.91 kB / 0.7935 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001657/0.4637, allocations: 0.7642 MB / 0.7942 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4637, allocations: 0 / 0.7942 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001877/0.4656, allocations: 339.6 kB / 0.7946 GB, free: 4.746 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.01247/0.4781, allocations: 3.586 MB / 0.7981 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006358/0.4846, allocations: 1.13 MB / 0.7992 GB, free: 120 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4846, allocations: 0 / 0.7992 GB, free: 120 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003163/0.4878, allocations: 0.5852 MB / 0.7997 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/0.4916, allocations: 439.3 kB / 0.8002 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02833/0.52, allocations: 12.58 MB / 0.8124 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009447/0.521, allocations: 1.129 MB / 0.8136 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001883/0.5229, allocations: 252.8 kB / 0.8138 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.5241, allocations: 467.2 kB / 0.8142 GB, free: 204 kB / 0.6355 GB Notification: Performance of SimCode: time 1.473e-06/0.5241, allocations: 0 / 0.8142 GB, free: 204 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08832/0.6125, allocations: 29.64 MB / 0.8432 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003278/0.6129, allocations: 233.8 kB / 0.8434 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.825/4.438, allocations: 4.062 kB / 0.8434 GB, free: 2.645 MB / 0.6667 GB