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.0008809/0.0008811, allocations: 85.94 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.828/1.828, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004999/0.0005, allocations: 18.97 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6376/0.8483, allocations: 176.3 MB / 0.9596 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007781/0.8561, allocations: 4.779 MB / 0.9643 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.8578, allocations: 44.88 kB / 0.9643 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.8595, allocations: 0.6156 MB / 0.9649 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005461/0.8649, allocations: 1.861 MB / 0.9667 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002915/0.8679, allocations: 0.9211 MB / 0.9676 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004603/0.8725, allocations: 3.057 MB / 0.9706 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.8741, allocations: 0.7506 MB / 0.9713 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/0.8766, allocations: 1.01 MB / 0.9723 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.8781, allocations: 0.9597 MB / 0.9733 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.8783, allocations: 48.66 kB / 0.9733 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.8811, allocations: 0.9299 MB / 0.9742 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004751/0.8816, allocations: 404.6 kB / 0.9746 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005903/0.8822, allocations: 269.6 kB / 0.9749 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.8841, allocations: 1.403 MB / 0.9762 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8842, allocations: 0 / 0.9762 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8842, allocations: 4 kB / 0.9762 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.8842, allocations: 0 / 0.9762 GB, free: 17.92 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.004359/0.8886, allocations: 1.729 MB / 0.9779 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.8886, allocations: 9 kB / 0.9779 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/0.8888, allocations: 137.2 kB / 0.9781 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00495/0.8938, allocations: 0.9358 MB / 0.979 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.8954, allocations: 0.8721 MB / 0.9798 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.8955, allocations: 72 kB / 0.9799 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.8956, allocations: 87.94 kB / 0.98 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/0.899, allocations: 1.578 MB / 0.9815 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.899, allocations: 4 kB / 0.9815 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.8991, allocations: 36.92 kB / 0.9816 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/0.8992, allocations: 49.7 kB / 0.9816 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/0.9037, allocations: 1.838 MB / 0.9834 GB, free: 14.95 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.007243/0.911, allocations: 4.753 MB / 0.988 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/0.9147, allocations: 1.589 MB / 0.9896 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.9167, allocations: 0.8496 MB / 0.9904 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.9179, allocations: 0.9574 MB / 0.9914 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002263/0.9202, allocations: 0.9078 MB / 0.9923 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.437e-06/0.9202, allocations: 1.859 kB / 0.9923 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.006841/0.9271, allocations: 2.438 MB / 0.9946 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.9271, allocations: 64.25 kB / 0.9947 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.9285, allocations: 1.2 MB / 0.9959 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.9286, allocations: 48.64 kB / 0.9959 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.929, allocations: 0.543 MB / 0.9964 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.9294, allocations: 328.2 kB / 0.9968 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.9294, allocations: 21.97 kB / 0.9968 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002298/0.9297, allocations: 349.6 kB / 0.9971 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.9315, allocations: 0.6888 MB / 0.9978 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/0.9336, allocations: 0.9229 MB / 0.9987 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.9355, allocations: 0.7268 MB / 0.9994 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.9355, allocations: 6.781 kB / 0.9994 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004331/0.9398, allocations: 1.77 MB / 1.001 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.9399, allocations: 7.609 kB / 1.001 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.9399, allocations: 5.125 kB / 1.001 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.9399, allocations: 8.688 kB / 1.001 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.9416, allocations: 342.7 kB / 1.001 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.9416, allocations: 15.19 kB / 1.001 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.9434, allocations: 258 kB / 1.002 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.9435, allocations: 49.31 kB / 1.002 GB, free: 7.07 MB / 0.7325 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 ($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 (121): * Single equations (assignments): 121 * 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.00061/0.9441, allocations: 331.1 kB / 1.002 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.9444, allocations: 140.2 kB / 1.002 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00445/0.9488, allocations: 1.797 MB / 1.004 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.9488, allocations: 7.812 kB / 1.004 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.9489, allocations: 0 / 1.004 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.9489, allocations: 3.984 kB / 1.004 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006503/0.9554, allocations: 3.335 MB / 1.007 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.9554, allocations: 5.906 kB / 1.007 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.957, allocations: 295 kB / 1.008 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.957, allocations: 12.02 kB / 1.008 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.061e-05/0.9571, allocations: 31.56 kB / 1.008 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.9571, allocations: 11.5 kB / 1.008 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.9571, allocations: 6.219 kB / 1.008 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006415/0.9635, allocations: 2.832 MB / 1.01 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006775/0.9642, allocations: 328.5 kB / 1.011 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.9645, allocations: 30.33 kB / 1.011 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.9657, allocations: 175 kB / 1.011 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.9659, allocations: 72.22 kB / 1.011 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-05/0.966, allocations: 39.47 kB / 1.011 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001046/0.967, allocations: 0.8346 MB / 1.012 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9671, allocations: 1.75 kB / 1.012 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001004/0.9681, allocations: 342.4 kB / 1.012 GB, free: 3.461 MB / 0.7325 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 (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.007759/0.9758, allocations: 3.805 MB / 1.016 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004419/0.9803, allocations: 1.605 MB / 1.017 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.9803, allocations: 3.938 kB / 1.017 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002269/0.9826, allocations: 0.831 MB / 1.018 GB, free: 216 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/0.9855, allocations: 0.6141 MB / 1.019 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/1.004, allocations: 9.573 MB / 1.028 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009571/1.005, allocations: 1.187 MB / 1.029 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00183/1.007, allocations: 370.2 kB / 1.03 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007856/1.008, allocations: 0.5054 MB / 1.03 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of SimCode: time 9.82e-07/1.008, allocations: 0 / 1.03 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05847/1.067, allocations: 34.29 MB / 1.064 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/1.067, allocations: 235.2 kB / 1.064 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/3.762, allocations: 0 / 1.064 GB, free: 3.375 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: