Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.75/2.75, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001332/0.001332, allocations: 186 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009468/0.0009465, allocations: 100.5 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004912, allocations: 12.84 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2038, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03187/0.2357, allocations: 26.94 MB / 1.005 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01356/0.2493, allocations: 6.353 MB / 1.011 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.2508, allocations: 43.69 kB / 1.011 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.253, allocations: 0.5558 MB / 1.012 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0047/0.2577, allocations: 1.167 MB / 1.013 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004118/0.2619, allocations: 0.9454 MB / 1.014 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00511/0.267, allocations: 2.742 MB / 1.016 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.2688, allocations: 0.6466 MB / 1.017 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/0.2716, allocations: 0.9101 MB / 1.018 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.2737, allocations: 0.7507 MB / 1.019 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.274, allocations: 40 kB / 1.019 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.2765, allocations: 0.495 MB / 1.019 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.2771, allocations: 239 kB / 1.019 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005195/0.2777, allocations: 233 kB / 1.02 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.2802, allocations: 1.04 MB / 1.021 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2802, allocations: 0 / 1.021 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2802, allocations: 0 / 1.021 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.709e-05/0.2803, allocations: 0 / 1.021 GB, free: 1.031 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.003961/0.2843, allocations: 1.38 MB / 1.022 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.2843, allocations: 8.031 kB / 1.022 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002816/0.2846, allocations: 118.5 kB / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006057/0.2907, allocations: 0.6383 MB / 1.023 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/0.293, allocations: 0.7703 MB / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-05/0.2931, allocations: 50 kB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.2933, allocations: 83.92 kB / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004225/0.2976, allocations: 1.107 MB / 1.025 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.2976, allocations: 7.938 kB / 1.025 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.2978, allocations: 32 kB / 1.025 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.2978, allocations: 19.95 kB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005649/0.3035, allocations: 1.02 MB / 1.026 GB, free: 11.6 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.009719/0.3132, allocations: 4.967 MB / 1.03 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005403/0.3187, allocations: 0.969 MB / 1.031 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/0.3215, allocations: 0.4921 MB / 1.032 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002089/0.3236, allocations: 1.596 MB / 1.033 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003062/0.3267, allocations: 0.5846 MB / 1.034 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.449e-06/0.3268, allocations: 0 / 1.034 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.008612/0.3354, allocations: 1.512 MB / 1.036 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.3355, allocations: 63.97 kB / 1.036 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.3376, allocations: 1.117 MB / 1.037 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002006/0.3379, allocations: 41.7 kB / 1.037 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006745/0.3386, allocations: 0.5474 MB / 1.037 GB, free: 15 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.3389, allocations: 216.9 kB / 1.037 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.339, allocations: 12 kB / 1.037 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.3392, allocations: 341.9 kB / 1.038 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.3419, allocations: 457.6 kB / 1.038 GB, free: 14 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/0.345, allocations: 0.7397 MB / 1.039 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002791/0.3479, allocations: 0.49 MB / 1.039 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.3479, allocations: 4 kB / 1.039 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006502/0.3544, allocations: 1.294 MB / 1.041 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.3545, allocations: 8 kB / 1.041 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.3545, allocations: 8 kB / 1.041 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.599e-05/0.3546, allocations: 15.94 kB / 1.041 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.357, allocations: 275.8 kB / 1.041 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.979e-05/0.357, allocations: 19.98 kB / 1.041 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.3593, allocations: 207 kB / 1.041 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.3595, allocations: 43.98 kB / 1.041 GB, free: 10.77 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.0007386/0.3603, allocations: 301 kB / 1.042 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.3606, allocations: 126.5 kB / 1.042 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006742/0.3674, allocations: 1.386 MB / 1.043 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.097e-05/0.3674, allocations: 8 kB / 1.043 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3675, allocations: 0 / 1.043 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.3675, allocations: 3.984 kB / 1.043 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008873/0.3764, allocations: 2.39 MB / 1.045 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.3765, allocations: 4 kB / 1.045 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/0.3784, allocations: 195.9 kB / 1.046 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/0.3784, allocations: 4 kB / 1.046 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.3786, allocations: 27.97 kB / 1.046 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.3786, allocations: 4 kB / 1.046 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.3786, allocations: 7.953 kB / 1.046 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009205/0.3878, allocations: 2.001 MB / 1.048 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008129/0.3887, allocations: 291.3 kB / 1.048 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/0.3889, allocations: 15.98 kB / 1.048 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.3907, allocations: 127.9 kB / 1.048 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.3909, allocations: 56.44 kB / 1.048 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.391, allocations: 31.97 kB / 1.048 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001525/0.3926, allocations: 0.7642 MB / 1.049 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3926, allocations: 0 / 1.049 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001579/0.3942, allocations: 347.5 kB / 1.049 GB, free: 2.551 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.0116/0.4058, allocations: 3.094 MB / 1.052 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006065/0.4119, allocations: 1.134 MB / 1.053 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.412, allocations: 4.062 kB / 1.053 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003045/0.415, allocations: 0.5812 MB / 1.054 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003899/0.419, allocations: 450.1 kB / 1.054 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/0.4445, allocations: 7.691 MB / 1.062 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009721/0.4455, allocations: 1.108 MB / 1.063 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001844/0.4474, allocations: 248.8 kB / 1.063 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.4486, allocations: 459.2 kB / 1.064 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/0.4487, allocations: 4 kB / 1.064 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6919/1.141, allocations: 29.64 MB / 1.092 GB, free: 81.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/1.141, allocations: 235.3 kB / 1.093 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.789/4.93, allocations: 0 / 1.093 GB, free: 81.25 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)