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 1.647/1.647, allocations: 287.4 MB / 302.6 MB, free: 8.16 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.001053/0.001053, allocations: 185.4 kB / 371.1 MB, free: 10.82 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.591/1.591, allocations: 205.4 MB / 0.6298 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.0007173/0.0007173, allocations: 84.44 kB / 0.7431 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0005, allocations: 11.19 kB / 0.8662 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2196, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02139/0.2411, allocations: 26.94 MB / 1.005 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.2513, allocations: 6.358 MB / 1.011 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.2532, allocations: 43.69 kB / 1.011 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.2549, allocations: 0.5519 MB / 1.012 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004023/0.259, allocations: 1.168 MB / 1.013 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.262, allocations: 0.9446 MB / 1.014 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003785/0.2658, allocations: 2.773 MB / 1.017 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.2671, allocations: 0.7052 MB / 1.017 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.2691, allocations: 0.9101 MB / 1.018 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.2702, allocations: 0.7508 MB / 1.019 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.2703, allocations: 36 kB / 1.019 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.2719, allocations: 498.9 kB / 1.019 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.2722, allocations: 250.9 kB / 1.02 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.2725, allocations: 233 kB / 1.02 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.2739, allocations: 1.037 MB / 1.021 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.274, allocations: 0 / 1.021 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.585e-06/0.274, allocations: 0 / 1.021 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.274, allocations: 0 / 1.021 GB, free: 0.793 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.002928/0.2769, allocations: 1.376 MB / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.277, allocations: 8.031 kB / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.2771, allocations: 118.7 kB / 1.022 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/0.2804, allocations: 0.6353 MB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.2818, allocations: 0.8213 MB / 1.024 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/0.2818, allocations: 58.12 kB / 1.024 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.282, allocations: 72 kB / 1.024 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.2844, allocations: 1.103 MB / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.2844, allocations: 7.938 kB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/0.2845, allocations: 32 kB / 1.025 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.2845, allocations: 16 kB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/0.2875, allocations: 1.02 MB / 1.026 GB, free: 11.33 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.006006/0.2935, allocations: 4.975 MB / 1.031 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.2964, allocations: 0.9612 MB / 1.032 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.2979, allocations: 0.4913 MB / 1.032 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/0.2997, allocations: 1.603 MB / 1.034 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001661/0.3014, allocations: 0.5768 MB / 1.034 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.067e-06/0.3014, allocations: 0 / 1.034 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.00487/0.3063, allocations: 1.516 MB / 1.036 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.3064, allocations: 59.91 kB / 1.036 GB, free: 480 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.3078, allocations: 1.121 MB / 1.037 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.69e-05/0.3079, allocations: 41.7 kB / 1.037 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/0.3084, allocations: 0.5552 MB / 1.038 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.3086, allocations: 205 kB / 1.038 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.3087, allocations: 12 kB / 1.038 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3088, allocations: 341.9 kB / 1.038 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.3102, allocations: 457.6 kB / 1.039 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.3118, allocations: 0.7436 MB / 1.039 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.3146, allocations: 1.14 MB / 1.04 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3147, allocations: 0 / 1.04 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003478/0.3181, allocations: 1.293 MB / 1.042 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.3182, allocations: 8 kB / 1.042 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.3182, allocations: 8 kB / 1.042 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.3182, allocations: 12.81 kB / 1.042 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.3194, allocations: 275.6 kB / 1.042 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/0.3195, allocations: 19.92 kB / 1.042 GB, free: 9.992 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.3207, allocations: 206.9 kB / 1.042 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.3209, allocations: 47.97 kB / 1.042 GB, free: 9.742 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.0005119/0.3214, allocations: 297 kB / 1.043 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.3216, allocations: 126.4 kB / 1.043 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/0.3253, allocations: 1.383 MB / 1.044 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.3253, allocations: 11.94 kB / 1.044 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3253, allocations: 0 / 1.044 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3253, allocations: 3.984 kB / 1.044 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004931/0.3303, allocations: 2.397 MB / 1.046 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.3303, allocations: 4 kB / 1.046 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009909/0.3313, allocations: 195.9 kB / 1.047 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.3313, allocations: 7.984 kB / 1.047 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/0.3314, allocations: 23.97 kB / 1.047 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.062e-05/0.3314, allocations: 8 kB / 1.047 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.3314, allocations: 7.938 kB / 1.047 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/0.3364, allocations: 2.001 MB / 1.049 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/0.3369, allocations: 283.3 kB / 1.049 GB, free: 2.867 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.3371, allocations: 20 kB / 1.049 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009238/0.338, allocations: 123.9 kB / 1.049 GB, free: 2.727 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3381, allocations: 60.36 kB / 1.049 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.792e-05/0.3382, allocations: 39.97 kB / 1.049 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009694/0.3392, allocations: 0.7564 MB / 1.05 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3392, allocations: 0 / 1.05 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00107/0.3403, allocations: 339.5 kB / 1.05 GB, free: 1.531 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.006631/0.3469, allocations: 3.098 MB / 1.053 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003328/0.3503, allocations: 1.122 MB / 1.054 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3503, allocations: 0 / 1.054 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.3519, allocations: 0.5931 MB / 1.055 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.3544, allocations: 440.6 kB / 1.055 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.3697, allocations: 7.683 MB / 1.063 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.3704, allocations: 1.107 MB / 1.064 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001234/0.3717, allocations: 260.8 kB / 1.064 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006759/0.3724, allocations: 467.2 kB / 1.065 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/0.3724, allocations: 0 / 1.065 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5449/0.9173, allocations: 29.66 MB / 1.094 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.9176, allocations: 241.1 kB / 1.094 GB, free: 81 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/3.78, allocations: 3.938 kB / 1.094 GB, free: 81 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)