Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.664/1.664, allocations: 288.4 MB / 303.6 MB, free: 8.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 184.5 kB / 372.3 MB, free: 10.12 MB / 298.7 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.4 MB / 0.631 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007577/0.0007577, allocations: 102.8 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004312, allocations: 13.84 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2263, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02283/0.2492, allocations: 26.94 MB / 1.006 GB, free: 256 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.26, allocations: 6.365 MB / 1.013 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.2617, allocations: 39.69 kB / 1.013 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.2634, allocations: 0.5558 MB / 1.013 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003947/0.2673, allocations: 1.254 MB / 1.015 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003071/0.2704, allocations: 0.9414 MB / 1.015 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004006/0.2744, allocations: 2.781 MB / 1.018 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.2762, allocations: 0.7052 MB / 1.019 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.2788, allocations: 0.9257 MB / 1.02 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.2805, allocations: 0.7508 MB / 1.02 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002681/0.2808, allocations: 36 kB / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.283, allocations: 0.7248 MB / 1.021 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004226/0.2835, allocations: 239 kB / 1.021 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009964/0.2845, allocations: 0.5223 MB / 1.022 GB, free: 372 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.2868, allocations: 1.126 MB / 1.023 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2869, allocations: 0 / 1.023 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.277e-06/0.2869, allocations: 0 / 1.023 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.983e-05/0.2869, allocations: 0 / 1.023 GB, free: 15.23 MB / 0.6511 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.002965/0.2899, allocations: 1.372 MB / 1.024 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.29, allocations: 8.031 kB / 1.024 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.2901, allocations: 118.7 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/0.2935, allocations: 0.6353 MB / 1.025 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.2949, allocations: 0.8174 MB / 1.026 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.036e-05/0.295, allocations: 66.05 kB / 1.026 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.2952, allocations: 72 kB / 1.026 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/0.2978, allocations: 1.103 MB / 1.027 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.2978, allocations: 7.938 kB / 1.027 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/0.2979, allocations: 28 kB / 1.027 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.2979, allocations: 20 kB / 1.027 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/0.3011, allocations: 1.016 MB / 1.028 GB, free: 9.777 MB / 0.6511 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.006967/0.3081, allocations: 4.975 MB / 1.033 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.3111, allocations: 0.9574 MB / 1.034 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.3126, allocations: 499.7 kB / 1.034 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00185/0.3145, allocations: 1.608 MB / 1.036 GB, free: 1.102 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001807/0.3163, allocations: 0.5807 MB / 1.037 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.188e-06/0.3164, allocations: 4 kB / 1.037 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.005153/0.3215, allocations: 1.512 MB / 1.038 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/0.3216, allocations: 59.97 kB / 1.038 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.3236, allocations: 1.113 MB / 1.039 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.922e-05/0.3238, allocations: 45.69 kB / 1.039 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005295/0.3243, allocations: 0.5474 MB / 1.04 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.3246, allocations: 213 kB / 1.04 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.3246, allocations: 16 kB / 1.04 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3248, allocations: 341.9 kB / 1.04 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.3263, allocations: 457.6 kB / 1.041 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.328, allocations: 0.7436 MB / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003003/0.331, allocations: 1.14 MB / 1.043 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.331, allocations: 0 / 1.043 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003659/0.3347, allocations: 1.285 MB / 1.044 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.3347, allocations: 12.88 kB / 1.044 GB, free: 8.746 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.3347, allocations: 8 kB / 1.044 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.3348, allocations: 16 kB / 1.044 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.336, allocations: 275.6 kB / 1.044 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.336, allocations: 15.94 kB / 1.044 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.3374, allocations: 211 kB / 1.044 GB, free: 8.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.3376, allocations: 43.97 kB / 1.044 GB, free: 8.188 MB / 0.6667 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.0005447/0.3381, allocations: 295.7 kB / 1.045 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.3384, allocations: 126.4 kB / 1.045 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003942/0.3423, allocations: 1.379 MB / 1.046 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/0.3424, allocations: 11.98 kB / 1.046 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3424, allocations: 0 / 1.046 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.3424, allocations: 7.984 kB / 1.046 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00557/0.348, allocations: 2.401 MB / 1.049 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.348, allocations: 0 / 1.049 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.3491, allocations: 191.9 kB / 1.049 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/0.3491, allocations: 8 kB / 1.049 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.657e-05/0.3492, allocations: 27.97 kB / 1.049 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.3492, allocations: 7.984 kB / 1.049 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.3492, allocations: 7.938 kB / 1.049 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005305/0.3546, allocations: 1.997 MB / 1.051 GB, free: 1.617 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000538/0.3551, allocations: 287.4 kB / 1.051 GB, free: 1.316 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.3553, allocations: 24 kB / 1.051 GB, free: 1.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.3564, allocations: 119.9 kB / 1.051 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.3565, allocations: 56.44 kB / 1.051 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.534e-05/0.3566, allocations: 35.97 kB / 1.051 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001111/0.3577, allocations: 0.7641 MB / 1.052 GB, free: 320 kB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3577, allocations: 0 / 1.052 GB, free: 320 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001303/0.359, allocations: 339.6 kB / 1.052 GB, free: 15.98 MB / 0.6823 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.00693/0.366, allocations: 3.112 MB / 1.055 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003396/0.3694, allocations: 1.126 MB / 1.056 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3694, allocations: 3.938 kB / 1.056 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.3711, allocations: 0.5814 MB / 1.057 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/0.3743, allocations: 446.9 kB / 1.057 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/0.3913, allocations: 7.687 MB / 1.065 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008427/0.3922, allocations: 1.108 MB / 1.066 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001132/0.3934, allocations: 248.8 kB / 1.066 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007132/0.3941, allocations: 471.2 kB / 1.067 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/0.3941, allocations: 0 / 1.067 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.034/1.428, allocations: 29.92 MB / 1.096 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/1.429, allocations: 244.7 kB / 1.096 GB, free: 79.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.132/4.56, allocations: 7.938 kB / 1.096 GB, free: 79.2 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)