Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.548/2.548, allocations: 287.3 MB / 302.3 MB, free: 8.215 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.002182/0.002182, allocations: 179 kB / 370.8 MB, free: 10.86 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.046/2.046, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001173/0.001173, allocations: 86.86 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005205/0.0005207, allocations: 13.41 kB / 0.8657 GB, free: 139.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2206, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.695/6.916, allocations: 2.068 GB / 3.046 GB, free: 125 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004785/6.917, allocations: 87.83 kB / 3.046 GB, free: 125 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.671/12.59, allocations: 1.011 GB / 4.057 GB, free: 194 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.886e-06/12.59, allocations: 2.125 kB / 4.057 GB, free: 194 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001591/12.59, allocations: 44.48 kB / 4.057 GB, free: 194 MB / 0.948 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.01116/12.6, allocations: 1.939 MB / 4.059 GB, free: 193.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/12.6, allocations: 7.312 kB / 4.059 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006015/12.6, allocations: 140.4 kB / 4.059 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007232/12.61, allocations: 0.6983 MB / 4.06 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004609/12.61, allocations: 1.025 MB / 4.061 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/12.61, allocations: 67.55 kB / 4.061 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003315/12.61, allocations: 94.73 kB / 4.061 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005503/12.62, allocations: 1.453 MB / 4.063 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/12.62, allocations: 7.688 kB / 4.063 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/12.62, allocations: 31.69 kB / 4.063 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.306e-05/12.62, allocations: 51.17 kB / 4.063 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007611/12.63, allocations: 1.5 MB / 4.064 GB, free: 191.7 MB / 0.948 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.01333/12.64, allocations: 5.575 MB / 4.07 GB, free: 187.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006858/12.65, allocations: 1.308 MB / 4.071 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/12.65, allocations: 0.5785 MB / 4.072 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003418/12.65, allocations: 0.7209 MB / 4.072 GB, free: 186.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 6.182e-06/12.65, allocations: 0 / 4.072 GB, free: 186.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.0106/12.66, allocations: 1.912 MB / 4.074 GB, free: 186.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/12.66, allocations: 59.94 kB / 4.074 GB, free: 186.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/12.66, allocations: 1.105 MB / 4.075 GB, free: 185.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003449/12.66, allocations: 48.02 kB / 4.075 GB, free: 185.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006255/12.67, allocations: 0.5933 MB / 4.076 GB, free: 185.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004689/12.67, allocations: 281.1 kB / 4.076 GB, free: 185.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/12.67, allocations: 15.78 kB / 4.076 GB, free: 185.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001116/12.67, allocations: 343 kB / 4.076 GB, free: 184.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003006/12.67, allocations: 0.5574 MB / 4.077 GB, free: 184.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003487/12.67, allocations: 0.8872 MB / 4.078 GB, free: 183.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003217/12.68, allocations: 0.6182 MB / 4.078 GB, free: 183.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/12.68, allocations: 0 / 4.078 GB, free: 183.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007479/12.68, allocations: 1.524 MB / 4.08 GB, free: 182.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/12.68, allocations: 7.188 kB / 4.08 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/12.68, allocations: 7.25 kB / 4.08 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.017e-05/12.68, allocations: 14.34 kB / 4.08 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/12.69, allocations: 316 kB / 4.08 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.726e-05/12.69, allocations: 11.09 kB / 4.08 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/12.69, allocations: 238.4 kB / 4.081 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/12.69, allocations: 53.42 kB / 4.081 GB, free: 182.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.001101/12.69, allocations: 338.4 kB / 4.081 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/12.69, allocations: 133.8 kB / 4.081 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007247/12.7, allocations: 1.492 MB / 4.082 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/12.7, allocations: 13.12 kB / 4.083 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/12.7, allocations: 3.953 kB / 4.083 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/12.7, allocations: 7.875 kB / 4.083 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/12.71, allocations: 2.94 MB / 4.085 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/12.71, allocations: 3.594 kB / 4.085 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/12.71, allocations: 231.1 kB / 4.086 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.02e-05/12.71, allocations: 6.75 kB / 4.086 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/12.71, allocations: 37.64 kB / 4.086 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/12.71, allocations: 4.625 kB / 4.086 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/12.71, allocations: 9.844 kB / 4.086 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/12.72, allocations: 2.561 MB / 4.088 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/12.73, allocations: 335.1 kB / 4.088 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004898/12.73, allocations: 24 kB / 4.089 GB, free: 177.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/12.73, allocations: 148.8 kB / 4.089 GB, free: 177.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/12.73, allocations: 67.56 kB / 4.089 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/12.73, allocations: 39.97 kB / 4.089 GB, free: 177.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001888/12.73, allocations: 0.8565 MB / 4.09 GB, free: 176.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/12.73, allocations: 0 / 4.09 GB, free: 176.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002727/12.73, allocations: 0.4918 MB / 4.09 GB, free: 176.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.01518/12.75, allocations: 6.104 MB / 4.096 GB, free: 170.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006831/12.76, allocations: 1.323 MB / 4.097 GB, free: 168.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/12.76, allocations: 0 / 4.097 GB, free: 168.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003362/12.76, allocations: 0.6688 MB / 4.098 GB, free: 168.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005263/12.76, allocations: 0.5769 MB / 4.099 GB, free: 167.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/12.79, allocations: 13.51 MB / 4.112 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/12.79, allocations: 1.211 MB / 4.113 GB, free: 152.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002664/12.8, allocations: 356.8 kB / 4.113 GB, free: 152.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/12.8, allocations: 0.4914 MB / 4.114 GB, free: 151.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.914e-06/12.8, allocations: 0 / 4.114 GB, free: 151.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.137/12.94, allocations: 58.95 MB / 4.171 GB, free: 93.44 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/12.94, allocations: 239.8 kB / 4.172 GB, free: 93.19 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.358/18.29, allocations: 0 / 4.172 GB, free: 93.19 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)