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.771/1.771, allocations: 288.4 MB / 303.3 MB, free: 8.125 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.001056/0.001057, allocations: 185.5 kB / 372 MB, free: 10.28 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.444/1.444, allocations: 205.4 MB / 0.6307 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.0007073/0.0007073, allocations: 86.42 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 15.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1855, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02089/0.2064, allocations: 26.94 MB / 1.006 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009103/0.2156, allocations: 6.361 MB / 1.012 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.2168, allocations: 39.69 kB / 1.012 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.2184, allocations: 0.5597 MB / 1.013 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.2215, allocations: 1.17 MB / 1.014 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.224, allocations: 0.9462 MB / 1.015 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003235/0.2273, allocations: 2.75 MB / 1.017 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.2285, allocations: 0.6388 MB / 1.018 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.2304, allocations: 0.9062 MB / 1.019 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.2318, allocations: 0.7508 MB / 1.02 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.232, allocations: 40 kB / 1.02 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.2335, allocations: 0.4911 MB / 1.02 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000337/0.2339, allocations: 239 kB / 1.02 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004441/0.2343, allocations: 237 kB / 1.021 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.2359, allocations: 1.033 MB / 1.022 GB, free: 368 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.236, allocations: 4 kB / 1.022 GB, free: 364 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/0.236, allocations: 0 / 1.022 GB, free: 364 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.348e-05/0.236, allocations: 0 / 1.022 GB, free: 364 kB / 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.003382/0.2394, allocations: 1.384 MB / 1.023 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.2395, allocations: 12.03 kB / 1.023 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002463/0.2397, allocations: 114.5 kB / 1.023 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/0.2434, allocations: 0.6344 MB / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.2449, allocations: 0.778 MB / 1.025 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/0.2449, allocations: 61.98 kB / 1.025 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.2451, allocations: 72 kB / 1.025 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.2476, allocations: 1.096 MB / 1.026 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.2477, allocations: 7.938 kB / 1.026 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-05/0.2477, allocations: 36 kB / 1.026 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.2478, allocations: 16 kB / 1.026 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/0.2509, allocations: 1.024 MB / 1.027 GB, free: 10.92 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.006173/0.2571, allocations: 4.959 MB / 1.032 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/0.26, allocations: 0.9613 MB / 1.033 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.2615, allocations: 0.4903 MB / 1.033 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/0.263, allocations: 1.6 MB / 1.035 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001669/0.2647, allocations: 0.5846 MB / 1.035 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.807e-06/0.2647, allocations: 0 / 1.035 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.004848/0.2696, allocations: 1.516 MB / 1.037 GB, free: 144 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.2697, allocations: 59.97 kB / 1.037 GB, free: 72 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.2712, allocations: 1.113 MB / 1.038 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.952e-05/0.2713, allocations: 49.62 kB / 1.038 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/0.2718, allocations: 0.5474 MB / 1.038 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.272, allocations: 216.9 kB / 1.039 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.272, allocations: 12 kB / 1.039 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2722, allocations: 341.9 kB / 1.039 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.2737, allocations: 457.6 kB / 1.039 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.2754, allocations: 0.7397 MB / 1.04 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.2769, allocations: 0.4939 MB / 1.041 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.277, allocations: 0 / 1.041 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003698/0.2807, allocations: 1.286 MB / 1.042 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.2807, allocations: 11.95 kB / 1.042 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.2807, allocations: 12.06 kB / 1.042 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.2808, allocations: 19.98 kB / 1.042 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.282, allocations: 279.5 kB / 1.042 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-05/0.282, allocations: 12 kB / 1.042 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.2835, allocations: 207 kB / 1.042 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.2836, allocations: 47.98 kB / 1.042 GB, free: 10.09 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.0004901/0.2841, allocations: 305.1 kB / 1.043 GB, free: 9.785 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.2843, allocations: 122.5 kB / 1.043 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/0.2883, allocations: 1.386 MB / 1.044 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.2884, allocations: 8 kB / 1.044 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2884, allocations: 0 / 1.044 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.2884, allocations: 7.984 kB / 1.044 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005184/0.2936, allocations: 2.394 MB / 1.047 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.2936, allocations: 4 kB / 1.047 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.2947, allocations: 191.9 kB / 1.047 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.2947, allocations: 12 kB / 1.047 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-05/0.2948, allocations: 23.97 kB / 1.047 GB, free: 5.559 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.2948, allocations: 4 kB / 1.047 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2948, allocations: 0 / 1.047 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005124/0.3, allocations: 2.001 MB / 1.049 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.3005, allocations: 287.4 kB / 1.049 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.3007, allocations: 19.98 kB / 1.049 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.3018, allocations: 127.9 kB / 1.049 GB, free: 3.074 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.3019, allocations: 56.44 kB / 1.049 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/0.302, allocations: 31.97 kB / 1.049 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001025/0.303, allocations: 0.7603 MB / 1.05 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.303, allocations: 0 / 1.05 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001048/0.3041, allocations: 347.5 kB / 1.05 GB, free: 1.879 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.006723/0.3108, allocations: 3.092 MB / 1.053 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003414/0.3142, allocations: 1.138 MB / 1.054 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3143, allocations: 3.938 kB / 1.054 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.3159, allocations: 0.5814 MB / 1.055 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.3183, allocations: 447.9 kB / 1.055 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.334, allocations: 7.683 MB / 1.063 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007712/0.3349, allocations: 1.114 MB / 1.064 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001226/0.3361, allocations: 240.8 kB / 1.064 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000663/0.3368, allocations: 467.2 kB / 1.065 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/0.3368, allocations: 0 / 1.065 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3857/0.7225, allocations: 29.67 MB / 1.094 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.7227, allocations: 254.5 kB / 1.094 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/3.576, allocations: 4 kB / 1.094 GB, free: 80.04 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)