Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001058/0.001058, allocations: 105.4 kB / 15.7 MB, free: 24 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.001085/0.001085, allocations: 194.6 kB / 16.64 MB, free: 6.453 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.412/1.412, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.8/1.8, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00143/0.00143, allocations: 74.5 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6964/0.9277, allocations: 193.9 MB / 0.9729 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009988/0.9378, allocations: 4.995 MB / 0.9778 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.9402, allocations: 51.47 kB / 0.9779 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.9429, allocations: 0.8129 MB / 0.9787 GB, free: 14.95 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.008511/0.9514, allocations: 2.563 MB / 0.9812 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.9549, allocations: 1.124 MB / 0.9823 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004469/0.9594, allocations: 2.57 MB / 0.9848 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.961, allocations: 0.8944 MB / 0.9856 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002385/0.9634, allocations: 1.097 MB / 0.9867 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.965, allocations: 0.9609 MB / 0.9877 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.9652, allocations: 88.94 kB / 0.9877 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003871/0.9691, allocations: 1.787 MB / 0.9895 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005885/0.9697, allocations: 444.7 kB / 0.9899 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009968/0.9707, allocations: 0.6535 MB / 0.9905 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004317/0.975, allocations: 2.191 MB / 0.9927 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.9751, allocations: 0 / 0.9927 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9751, allocations: 2.812 kB / 0.9927 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.3e-05/0.9751, allocations: 0 / 0.9927 GB, free: 8.102 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004976/0.9801, allocations: 1.949 MB / 0.9946 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.9801, allocations: 9.469 kB / 0.9946 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.9803, allocations: 142 kB / 0.9947 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004481/0.9848, allocations: 0.7087 MB / 0.9954 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.9869, allocations: 0.9741 MB / 0.9964 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.581e-05/0.9869, allocations: 67.5 kB / 0.9964 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.9871, allocations: 92 kB / 0.9965 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/0.9903, allocations: 1.466 MB / 0.998 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.9904, allocations: 2.094 kB / 0.998 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.815e-05/0.9905, allocations: 31.97 kB / 0.998 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/0.9905, allocations: 47.39 kB / 0.998 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004058/0.9946, allocations: 1.565 MB / 0.9996 GB, free: 3.738 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.006989/1.002, allocations: 5.017 MB / 1.004 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003402/1.005, allocations: 1.182 MB / 1.006 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/1.007, allocations: 0.6662 MB / 1.006 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/1.008, allocations: 0.9448 MB / 1.007 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001887/1.01, allocations: 0.7248 MB / 1.008 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 3.336e-06/1.01, allocations: 0 / 1.008 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.006059/1.016, allocations: 1.957 MB / 1.01 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/1.016, allocations: 67.55 kB / 1.01 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/1.018, allocations: 1.27 MB / 1.011 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/1.018, allocations: 42.89 kB / 1.011 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/1.018, allocations: 0.5813 MB / 1.012 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/1.019, allocations: 279.5 kB / 1.012 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/1.019, allocations: 189.4 kB / 1.012 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.019, allocations: 349.7 kB / 1.013 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/1.021, allocations: 0.55 MB / 1.013 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/1.023, allocations: 0.8351 MB / 1.014 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003567/1.027, allocations: 1.344 MB / 1.015 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.027, allocations: 2.375 kB / 1.015 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004347/1.031, allocations: 1.513 MB / 1.017 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/1.031, allocations: 10.12 kB / 1.017 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.031, allocations: 7.406 kB / 1.017 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/1.031, allocations: 12.72 kB / 1.017 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/1.033, allocations: 309.9 kB / 1.017 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.444e-05/1.033, allocations: 14.56 kB / 1.017 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/1.034, allocations: 206.2 kB / 1.017 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.035, allocations: 55.19 kB / 1.017 GB, free: 7.723 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0006456/1.035, allocations: 334.1 kB / 1.018 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/1.036, allocations: 136.3 kB / 1.018 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/1.04, allocations: 1.45 MB / 1.019 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/1.04, allocations: 13.77 kB / 1.019 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/1.04, allocations: 0 / 1.019 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/1.04, allocations: 3.984 kB / 1.019 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006612/1.046, allocations: 2.873 MB / 1.022 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/1.046, allocations: 9.688 kB / 1.022 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.048, allocations: 226.3 kB / 1.022 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/1.048, allocations: 7.688 kB / 1.022 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.499e-05/1.048, allocations: 24.11 kB / 1.022 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/1.048, allocations: 9.547 kB / 1.022 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.048, allocations: 8.969 kB / 1.022 GB, free: 4.703 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005956/1.054, allocations: 2.317 MB / 1.024 GB, free: 2.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006864/1.054, allocations: 303.2 kB / 1.025 GB, free: 2.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/1.055, allocations: 19.98 kB / 1.025 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.056, allocations: 111.9 kB / 1.025 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.056, allocations: 64.36 kB / 1.025 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/1.056, allocations: 43.97 kB / 1.025 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001187/1.057, allocations: 0.8766 MB / 1.026 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/1.057, allocations: 0 / 1.026 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001198/1.059, allocations: 323.6 kB / 1.026 GB, free: 1.023 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.007489/1.066, allocations: 3.283 MB / 1.029 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003943/1.07, allocations: 1.318 MB / 1.031 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.07, allocations: 4 kB / 1.031 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/1.072, allocations: 0.6585 MB / 1.031 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/1.075, allocations: 0.6443 MB / 1.032 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/1.097, allocations: 11.12 MB / 1.043 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/1.098, allocations: 1.183 MB / 1.044 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001342/1.099, allocations: 350.3 kB / 1.044 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007429/1.1, allocations: 499.2 kB / 1.045 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of SimCode: time 6.11e-07/1.1, allocations: 0 / 1.045 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07053/1.17, allocations: 35.22 MB / 1.079 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/12.02, allocations: 7.938 kB / 1.079 GB, free: 10.94 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)