Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01664/0.01665, allocations: 110 kB / 15.06 MB, free: 5.555 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.002077/0.002077, allocations: 181.9 kB / 15.95 MB, free: 5.52 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.082/2.082, allocations: 194.6 MB / 211.3 MB, free: 11.01 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.427/2.427, allocations: 236.2 MB / 492.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005215/0.0005215, allocations: 16 kB / 0.587 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7084/0.709, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03902/0.7481, allocations: 24.35 MB / 0.7072 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.7635, allocations: 6.108 MB / 0.7132 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.7655, allocations: 39.12 kB / 0.7132 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003078/0.7687, allocations: 0.6387 MB / 0.7138 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005427/0.7741, allocations: 1.163 MB / 0.715 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.005551/0.7797, allocations: 1.123 MB / 0.7161 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004836/0.7846, allocations: 1.637 MB / 0.7177 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.7865, allocations: 0.6517 MB / 0.7183 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0032/0.7897, allocations: 0.8773 MB / 0.7192 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.7916, allocations: 0.578 MB / 0.7197 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002675/0.7919, allocations: 42.75 kB / 0.7198 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.7948, allocations: 0.558 MB / 0.7203 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0005532/0.7954, allocations: 224.1 kB / 0.7205 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000712/0.7961, allocations: 231.4 kB / 0.7207 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003032/0.7992, allocations: 1.061 MB / 0.7218 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.7993, allocations: 0 / 0.7218 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7993, allocations: 0 / 0.7218 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.221e-05/0.7993, allocations: 1.125 kB / 0.7218 GB, free: 5.004 MB / 0.5417 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.004366/0.8037, allocations: 1.549 MB / 0.7233 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.8038, allocations: 9.344 kB / 0.7233 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002757/0.804, allocations: 113.5 kB / 0.7234 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.8104, allocations: 0.6346 MB / 0.724 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.8129, allocations: 0.7762 MB / 0.7248 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.8131, allocations: 60.22 kB / 0.7248 GB, free: 2.695 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.8133, allocations: 78.53 kB / 0.7249 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/0.8177, allocations: 1.102 MB / 0.726 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.8178, allocations: 1.844 kB / 0.726 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.8179, allocations: 27.59 kB / 0.726 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.8179, allocations: 18.94 kB / 0.726 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005961/0.8239, allocations: 1.024 MB / 0.727 GB, free: 1.379 MB / 0.5417 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.01023/0.8342, allocations: 5.002 MB / 0.7319 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005392/0.8396, allocations: 0.8964 MB / 0.7328 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002145/0.8418, allocations: 1.592 MB / 0.7344 GB, free: 9.238 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003065/0.8449, allocations: 0.5727 MB / 0.7349 GB, free: 8.652 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=56): time 6.732e-06/0.845, allocations: 3.984 kB / 0.7349 GB, free: 8.648 MB / 0.5573 GB Notification: Performance of matching and sorting (n=56): time 0.008748/0.8537, allocations: 1.465 MB / 0.7363 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.8539, allocations: 59.97 kB / 0.7364 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.8561, allocations: 1.129 MB / 0.7375 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.8564, allocations: 41.69 kB / 0.7375 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006712/0.8571, allocations: 0.5544 MB / 0.7381 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.8574, allocations: 189.4 kB / 0.7383 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.751e-05/0.8575, allocations: 19.94 kB / 0.7383 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.8577, allocations: 341.9 kB / 0.7386 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/0.8605, allocations: 489.6 kB / 0.7391 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/0.8638, allocations: 0.7631 MB / 0.7398 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/0.8668, allocations: 0.6131 MB / 0.7404 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.8669, allocations: 4 kB / 0.7404 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.007017/0.8739, allocations: 1.441 MB / 0.7418 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.8741, allocations: 109 kB / 0.7419 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.8741, allocations: 8 kB / 0.7419 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/0.8742, allocations: 12 kB / 0.742 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/0.8766, allocations: 275.9 kB / 0.7422 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.275e-05/0.8767, allocations: 27.8 kB / 0.7422 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/0.8792, allocations: 218.8 kB / 0.7425 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/0.8795, allocations: 51.97 kB / 0.7425 GB, free: 0.625 MB / 0.5573 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 (103): * Single equations (assignments): 100 * 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.0007658/0.8803, allocations: 295.7 kB / 0.7428 GB, free: 336 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.8807, allocations: 118.5 kB / 0.7429 GB, free: 216 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006852/0.8875, allocations: 1.351 MB / 0.7442 GB, free: 14.84 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/0.8876, allocations: 11.98 kB / 0.7442 GB, free: 14.83 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.8876, allocations: 0 / 0.7442 GB, free: 14.83 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.8877, allocations: 3.984 kB / 0.7442 GB, free: 14.83 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008944/0.8966, allocations: 2.25 MB / 0.7464 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.8967, allocations: 0 / 0.7464 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/0.8987, allocations: 183.8 kB / 0.7466 GB, free: 12.35 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.8987, allocations: 8 kB / 0.7466 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.8988, allocations: 19.98 kB / 0.7466 GB, free: 12.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/0.8989, allocations: 7.984 kB / 0.7466 GB, free: 12.31 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.8989, allocations: 0 / 0.7466 GB, free: 12.31 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009422/0.9083, allocations: 1.934 MB / 0.7485 GB, free: 10.35 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009019/0.9093, allocations: 275.3 kB / 0.7488 GB, free: 10.06 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.9095, allocations: 19.98 kB / 0.7488 GB, free: 10.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.9115, allocations: 123.9 kB / 0.7489 GB, free: 9.922 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.9117, allocations: 40.5 kB / 0.749 GB, free: 9.883 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.9119, allocations: 31.97 kB / 0.749 GB, free: 9.852 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001595/0.9135, allocations: 0.7565 MB / 0.7497 GB, free: 9.09 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.1e-07/0.9135, allocations: 0 / 0.7497 GB, free: 9.09 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001848/0.9153, allocations: 383.4 kB / 0.7501 GB, free: 8.715 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (65): * Single equations (assignments): 50 * 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.01282/0.9282, allocations: 3.452 MB / 0.7535 GB, free: 5.535 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006506/0.9347, allocations: 1.378 MB / 0.7548 GB, free: 4.117 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/0.9348, allocations: 4.125 kB / 0.7548 GB, free: 4.113 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002999/0.9378, allocations: 0.5576 MB / 0.7554 GB, free: 3.555 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/0.9421, allocations: 423.1 kB / 0.7558 GB, free: 3.141 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.9598, allocations: 8.608 MB / 0.7642 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.9611, allocations: 1.132 MB / 0.7653 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0025/0.9637, allocations: 232.4 kB / 0.7655 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/0.9653, allocations: 451.2 kB / 0.7659 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of SimCode: time 1.533e-06/0.9653, allocations: 0 / 0.7659 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/1.085, allocations: 29.69 MB / 0.7949 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/1.086, allocations: 266.5 kB / 0.7952 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.776/4.862, allocations: 7.938 kB / 0.7952 GB, free: 10.79 MB / 0.6198 GB