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.524/1.524, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001071/0.001071, allocations: 189 kB / 371.8 MB, free: 10.23 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.691/1.691, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0007835/0.0007835, allocations: 95.88 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003998, allocations: 11.97 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2553, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01901/0.2744, allocations: 24.6 MB / 1.003 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008379/0.2828, allocations: 5.825 MB / 1.009 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.2841, allocations: 43.62 kB / 1.009 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.2858, allocations: 0.6419 MB / 1.01 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003706/0.2895, allocations: 1.18 MB / 1.011 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004257/0.2938, allocations: 1.32 MB / 1.012 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003071/0.2969, allocations: 1.56 MB / 1.014 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009551/0.2978, allocations: 0.6585 MB / 1.014 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.2993, allocations: 0.8525 MB / 1.015 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007288/0.3001, allocations: 0.564 MB / 1.016 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.051e-05/0.3002, allocations: 43.94 kB / 1.016 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.3019, allocations: 0.5266 MB / 1.016 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.3022, allocations: 243.1 kB / 1.017 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.3024, allocations: 225.1 kB / 1.017 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.3037, allocations: 1.021 MB / 1.018 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3037, allocations: 0 / 1.018 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3038, allocations: 0 / 1.018 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.3038, allocations: 0 / 1.018 GB, free: 4.211 MB / 0.6355 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.002499/0.3063, allocations: 1.389 MB / 1.019 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3063, allocations: 12.03 kB / 1.019 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.3065, allocations: 118.5 kB / 1.019 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/0.3098, allocations: 0.6344 MB / 1.02 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.3112, allocations: 0.7703 MB / 1.021 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.3113, allocations: 58 kB / 1.021 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.3114, allocations: 72 kB / 1.021 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/0.3138, allocations: 1.1 MB / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.3138, allocations: 7.938 kB / 1.022 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.3139, allocations: 32 kB / 1.022 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.3139, allocations: 16 kB / 1.022 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.3169, allocations: 1.02 MB / 1.023 GB, free: 14.79 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.00579/0.3227, allocations: 4.983 MB / 1.028 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.3256, allocations: 0.9536 MB / 1.029 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/0.3272, allocations: 1.6 MB / 1.03 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/0.3289, allocations: 0.5806 MB / 1.031 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.997e-06/0.329, allocations: 0 / 1.031 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.00465/0.3336, allocations: 1.516 MB / 1.032 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.3337, allocations: 63.95 kB / 1.032 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.335, allocations: 1.117 MB / 1.033 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.888e-05/0.3351, allocations: 37.7 kB / 1.034 GB, free: 3.242 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/0.3356, allocations: 0.5513 MB / 1.034 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.3358, allocations: 213 kB / 1.034 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.3358, allocations: 23.94 kB / 1.034 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.336, allocations: 337.9 kB / 1.035 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.3374, allocations: 457.6 kB / 1.035 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.339, allocations: 0.7397 MB / 1.036 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.3405, allocations: 0.4939 MB / 1.036 GB, free: 316 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3405, allocations: 0 / 1.036 GB, free: 316 kB / 0.6511 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003499/0.344, allocations: 1.289 MB / 1.038 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.3441, allocations: 8 kB / 1.038 GB, free: 15 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.3441, allocations: 12.8 kB / 1.038 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.3441, allocations: 12 kB / 1.038 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.3453, allocations: 279.6 kB / 1.038 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.678e-05/0.3453, allocations: 15.94 kB / 1.038 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.3466, allocations: 207 kB / 1.038 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.3467, allocations: 47.97 kB / 1.038 GB, free: 14.44 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.0004699/0.3472, allocations: 295.7 kB / 1.038 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.3474, allocations: 118.5 kB / 1.038 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/0.3511, allocations: 1.39 MB / 1.04 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.3511, allocations: 15.94 kB / 1.04 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3511, allocations: 0 / 1.04 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3512, allocations: 0 / 1.04 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004989/0.3562, allocations: 2.386 MB / 1.042 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.3562, allocations: 0 / 1.042 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009636/0.3572, allocations: 191.9 kB / 1.042 GB, free: 9.957 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.3572, allocations: 4 kB / 1.042 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.3572, allocations: 27.97 kB / 1.042 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.467e-05/0.3573, allocations: 15.92 kB / 1.042 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3573, allocations: 0 / 1.042 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004969/0.3623, allocations: 2.089 MB / 1.044 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/0.3629, allocations: 287.2 kB / 1.045 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.363, allocations: 16 kB / 1.045 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009495/0.364, allocations: 127.9 kB / 1.045 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3641, allocations: 56.48 kB / 1.045 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-05/0.3642, allocations: 35.95 kB / 1.045 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009982/0.3652, allocations: 0.7603 MB / 1.046 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3652, allocations: 0 / 1.046 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001179/0.3664, allocations: 351.5 kB / 1.046 GB, free: 6.117 MB / 0.6667 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.006914/0.3733, allocations: 3.572 MB / 1.05 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003333/0.3767, allocations: 1.126 MB / 1.051 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3767, allocations: 0 / 1.051 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.3783, allocations: 0.5853 MB / 1.051 GB, free: 0.8984 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.3805, allocations: 446.8 kB / 1.052 GB, free: 476 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/0.3972, allocations: 12.56 MB / 1.064 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/0.398, allocations: 1.133 MB / 1.065 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00124/0.3993, allocations: 248.8 kB / 1.065 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006918/0.4, allocations: 467.2 kB / 1.066 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of SimCode: time 9.71e-07/0.4, allocations: 0 / 1.066 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5865/0.9865, allocations: 29.64 MB / 1.095 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/0.9867, allocations: 237.7 kB / 1.095 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/4.057, allocations: 0 / 1.095 GB, free: 79.91 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)