Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.845/1.845, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001165/0.001165, allocations: 176.9 kB / 361.4 MB, free: 6.848 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.95/1.95, allocations: 205.2 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008796/0.0008792, allocations: 91.05 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.893e-05, allocations: 4 kB / 0.8518 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8116/0.8116, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.572/6.383, allocations: 2.067 GB / 3.032 GB, free: 93.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/6.384, allocations: 79.95 kB / 3.032 GB, free: 93.19 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.265/10.65, allocations: 0.9986 GB / 4.03 GB, free: 183.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.683e-06/10.65, allocations: 0 / 4.03 GB, free: 183.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001979/10.65, allocations: 44.45 kB / 4.03 GB, free: 183.8 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.00688/10.66, allocations: 1.724 MB / 4.032 GB, free: 182.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/10.66, allocations: 8.812 kB / 4.032 GB, free: 182.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004356/10.66, allocations: 0.6974 MB / 4.033 GB, free: 182.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/10.66, allocations: 1.02 MB / 4.034 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.911e-05/10.66, allocations: 31.09 kB / 4.034 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004217/10.66, allocations: 57.33 kB / 4.034 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002146/10.67, allocations: 0.915 MB / 4.035 GB, free: 181.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/10.67, allocations: 1.128 MB / 4.036 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/10.67, allocations: 7.812 kB / 4.036 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/10.67, allocations: 3.906 kB / 4.036 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.559e-05/10.67, allocations: 45.64 kB / 4.036 GB, free: 180.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.008527/10.68, allocations: 5.579 MB / 4.041 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/10.68, allocations: 0.8923 MB / 4.042 GB, free: 175.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/10.68, allocations: 481 kB / 4.043 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007941/10.68, allocations: 0.5795 MB / 4.043 GB, free: 174.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000825/10.68, allocations: 0.5793 MB / 4.044 GB, free: 173.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 4.478e-06/10.68, allocations: 3.938 kB / 4.044 GB, free: 173.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002525/10.68, allocations: 1.061 MB / 4.045 GB, free: 172.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/10.68, allocations: 66.94 kB / 4.045 GB, free: 172.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/10.69, allocations: 0.86 MB / 4.046 GB, free: 171.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/10.69, allocations: 29.7 kB / 4.046 GB, free: 171.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/10.69, allocations: 0.5935 MB / 4.046 GB, free: 171.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/10.69, allocations: 264.2 kB / 4.047 GB, free: 171 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/10.69, allocations: 0 / 4.047 GB, free: 171 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/10.69, allocations: 349.5 kB / 4.047 GB, free: 170.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005595/10.69, allocations: 406.4 kB / 4.047 GB, free: 170.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007831/10.69, allocations: 0.725 MB / 4.048 GB, free: 169.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/10.69, allocations: 460 kB / 4.048 GB, free: 168.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/10.69, allocations: 0 / 4.048 GB, free: 168.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001992/10.69, allocations: 1.159 MB / 4.05 GB, free: 167.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/10.69, allocations: 15.77 kB / 4.05 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/10.69, allocations: 4 kB / 4.05 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/10.69, allocations: 18.84 kB / 4.05 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/10.69, allocations: 312.2 kB / 4.05 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.713e-05/10.69, allocations: 23.92 kB / 4.05 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/10.69, allocations: 195.5 kB / 4.05 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/10.69, allocations: 58.97 kB / 4.05 GB, free: 167.2 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 () * 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.000322/10.69, allocations: 142.9 kB / 4.05 GB, free: 167 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001723/10.7, allocations: 1.006 MB / 4.051 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/10.7, allocations: 118.5 kB / 4.051 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/10.7, allocations: 1.151 MB / 4.053 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/10.7, allocations: 8 kB / 4.053 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/10.7, allocations: 4 kB / 4.053 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/10.7, allocations: 3.984 kB / 4.053 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/10.7, allocations: 2.579 MB / 4.055 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/10.7, allocations: 4 kB / 4.055 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/10.7, allocations: 248.3 kB / 4.055 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/10.7, allocations: 8 kB / 4.055 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-05/10.71, allocations: 31.95 kB / 4.055 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/10.71, allocations: 11.89 kB / 4.055 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/10.71, allocations: 4 kB / 4.055 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/10.71, allocations: 2.093 MB / 4.057 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006922/10.71, allocations: 327.4 kB / 4.058 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/10.71, allocations: 11.98 kB / 4.058 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/10.71, allocations: 130.7 kB / 4.058 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/10.71, allocations: 67.69 kB / 4.058 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.991e-05/10.71, allocations: 39.97 kB / 4.058 GB, free: 159 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009534/10.71, allocations: 0.6487 MB / 4.059 GB, free: 158.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/10.71, allocations: 3.938 kB / 4.059 GB, free: 158.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001884/10.71, allocations: 454.8 kB / 4.059 GB, free: 157.9 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) * 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.00653/10.72, allocations: 5.788 MB / 4.065 GB, free: 152.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00169/10.72, allocations: 0.9913 MB / 4.066 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/10.72, allocations: 2 kB / 4.066 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007592/10.72, allocations: 0.5182 MB / 4.066 GB, free: 150.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/10.72, allocations: 424.3 kB / 4.067 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/10.74, allocations: 2.954 MB / 4.069 GB, free: 147.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008987/10.74, allocations: 1.207 MB / 4.071 GB, free: 146.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001963/10.74, allocations: 353.8 kB / 4.071 GB, free: 145.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009895/10.74, allocations: 0.4992 MB / 4.071 GB, free: 145.3 MB / 0.948 GB Notification: Performance of SimCode: time 8.91e-07/10.74, allocations: 4 kB / 4.072 GB, free: 145.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08269/10.83, allocations: 40.96 MB / 4.111 GB, free: 104.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/10.83, allocations: 192.3 kB / 4.112 GB, free: 104.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.497/14.32, allocations: 0 / 4.112 GB, free: 104.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)