Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001538, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 72.3 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2499, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6831/0.933, allocations: 193.8 MB / 0.9728 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009183/0.9423, allocations: 4.996 MB / 0.9776 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.9438, allocations: 51.5 kB / 0.9777 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.9459, allocations: 0.8142 MB / 0.9785 GB, free: 14.89 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.007559/0.9535, allocations: 2.563 MB / 0.981 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004558/0.958, allocations: 1.12 MB / 0.9821 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005736/0.9638, allocations: 2.653 MB / 0.9847 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.9659, allocations: 0.9548 MB / 0.9856 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/0.9683, allocations: 1.109 MB / 0.9867 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.9697, allocations: 0.9946 MB / 0.9877 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.9699, allocations: 86.59 kB / 0.9878 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003764/0.9737, allocations: 1.79 MB / 0.9895 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004555/0.9742, allocations: 451.2 kB / 0.9899 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007117/0.9749, allocations: 0.6644 MB / 0.9906 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.978, allocations: 2.211 MB / 0.9927 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.57e-05/0.978, allocations: 2.656 kB / 0.9927 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.814e-06/0.978, allocations: 4 kB / 0.9927 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.9781, allocations: 0 / 0.9927 GB, free: 7.988 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00503/0.9831, allocations: 1.984 MB / 0.9947 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.9832, allocations: 7.469 kB / 0.9947 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.9833, allocations: 139.7 kB / 0.9948 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005924/0.9893, allocations: 0.8911 MB / 0.9957 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.991, allocations: 0.9261 MB / 0.9966 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.643e-05/0.9911, allocations: 72.09 kB / 0.9967 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/0.9914, allocations: 93.84 kB / 0.9968 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00404/0.9954, allocations: 1.577 MB / 0.9983 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.9954, allocations: 0 / 0.9983 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.9956, allocations: 39.02 kB / 0.9983 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.491e-05/0.9956, allocations: 48.27 kB / 0.9984 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005526/1.001, allocations: 1.851 MB / 1 GB, free: 3.402 MB / 0.7325 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.007253/1.008, allocations: 4.774 MB / 1.005 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004475/1.013, allocations: 1.554 MB / 1.006 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/1.015, allocations: 0.8659 MB / 1.007 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/1.017, allocations: 0.9409 MB / 1.008 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002543/1.019, allocations: 0.9197 MB / 1.009 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 3.557e-06/1.019, allocations: 0 / 1.009 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007788/1.027, allocations: 2.449 MB / 1.011 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/1.027, allocations: 62.5 kB / 1.011 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/1.029, allocations: 1.208 MB / 1.013 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/1.029, allocations: 49.23 kB / 1.013 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/1.029, allocations: 0.549 MB / 1.013 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/1.03, allocations: 326.2 kB / 1.014 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/1.03, allocations: 195.8 kB / 1.014 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.03, allocations: 341.8 kB / 1.014 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/1.032, allocations: 0.6913 MB / 1.015 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/1.035, allocations: 0.9333 MB / 1.016 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004678/1.039, allocations: 1.562 MB / 1.017 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.039, allocations: 0 / 1.017 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005398/1.045, allocations: 1.776 MB / 1.019 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/1.045, allocations: 15.69 kB / 1.019 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.045, allocations: 5.281 kB / 1.019 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/1.045, allocations: 9.562 kB / 1.019 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/1.047, allocations: 340.6 kB / 1.019 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/1.047, allocations: 14.03 kB / 1.019 GB, free: 7.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/1.049, allocations: 240.5 kB / 1.02 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/1.049, allocations: 48.34 kB / 1.02 GB, free: 7.008 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000683/1.05, allocations: 338.3 kB / 1.02 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003773/1.05, allocations: 144.8 kB / 1.02 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/1.055, allocations: 1.795 MB / 1.022 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.055, allocations: 16 kB / 1.022 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/1.055, allocations: 0 / 1.022 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/1.055, allocations: 7.969 kB / 1.022 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008081/1.063, allocations: 3.325 MB / 1.025 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.064, allocations: 4 kB / 1.025 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.065, allocations: 291.7 kB / 1.025 GB, free: 1.996 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.025e-05/1.065, allocations: 11.98 kB / 1.025 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/1.065, allocations: 31.97 kB / 1.025 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/1.065, allocations: 11.98 kB / 1.025 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.065, allocations: 6.188 kB / 1.025 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007995/1.074, allocations: 2.851 MB / 1.028 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/1.074, allocations: 323.1 kB / 1.028 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000331/1.075, allocations: 31.92 kB / 1.029 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/1.076, allocations: 157.8 kB / 1.029 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/1.076, allocations: 68.45 kB / 1.029 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.077, allocations: 39.97 kB / 1.029 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001185/1.078, allocations: 0.8396 MB / 1.03 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/1.078, allocations: 0 / 1.03 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001209/1.079, allocations: 347.6 kB / 1.03 GB, free: 13.22 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009334/1.088, allocations: 3.823 MB / 1.034 GB, free: 9.512 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005942/1.094, allocations: 1.78 MB / 1.035 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.094, allocations: 0 / 1.035 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002611/1.097, allocations: 0.8381 MB / 1.036 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/1.101, allocations: 0.6391 MB / 1.037 GB, free: 6.27 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/1.128, allocations: 12.91 MB / 1.049 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009346/1.129, allocations: 1.187 MB / 1.051 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001852/1.131, allocations: 366.1 kB / 1.051 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009652/1.132, allocations: 0.507 MB / 1.051 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of SimCode: time 8.82e-07/1.132, allocations: 0 / 1.051 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07339/1.205, allocations: 35.91 MB / 1.086 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/9.796, allocations: 11.31 kB / 1.087 GB, free: 3.246 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)