Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.86/1.86, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001556/0.001556, allocations: 184.8 kB / 366.7 MB, free: 1.648 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.934/1.934, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0008912/0.0008911, allocations: 91 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.533e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8435/0.8436, allocations: 116.3 MB / 0.9733 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.69/6.534, allocations: 2.068 GB / 3.041 GB, free: 76.93 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/6.534, allocations: 82.7 kB / 3.042 GB, free: 76.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.238/10.77, allocations: 0.9986 GB / 4.04 GB, free: 160.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.014e-06/10.77, allocations: 0 / 4.04 GB, free: 160.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000196/10.77, allocations: 50.62 kB / 4.04 GB, free: 160.1 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.006636/10.78, allocations: 1.725 MB / 4.042 GB, free: 158.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/10.78, allocations: 12.03 kB / 4.042 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004403/10.78, allocations: 0.694 MB / 4.043 GB, free: 157.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003184/10.79, allocations: 1.025 MB / 4.044 GB, free: 156.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/10.79, allocations: 28 kB / 4.044 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003943/10.79, allocations: 63.94 kB / 4.044 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002368/10.79, allocations: 0.9137 MB / 4.045 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/10.79, allocations: 1.123 MB / 4.046 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/10.79, allocations: 3.938 kB / 4.046 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/10.79, allocations: 7.984 kB / 4.046 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.585e-05/10.79, allocations: 49.98 kB / 4.046 GB, free: 154.3 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.01011/10.8, allocations: 5.567 MB / 4.051 GB, free: 148.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/10.8, allocations: 0.8956 MB / 4.052 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/10.8, allocations: 480 kB / 4.053 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008551/10.81, allocations: 0.5793 MB / 4.053 GB, free: 146.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008185/10.81, allocations: 0.5777 MB / 4.054 GB, free: 145.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.717e-06/10.81, allocations: 0 / 4.054 GB, free: 145.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002439/10.81, allocations: 1.069 MB / 4.055 GB, free: 144.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/10.81, allocations: 60.19 kB / 4.055 GB, free: 144.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/10.81, allocations: 0.8561 MB / 4.056 GB, free: 143.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/10.81, allocations: 25.7 kB / 4.056 GB, free: 143.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000448/10.81, allocations: 0.6012 MB / 4.056 GB, free: 143.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/10.81, allocations: 268.1 kB / 4.056 GB, free: 143 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/10.81, allocations: 4 kB / 4.056 GB, free: 143 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/10.81, allocations: 341.9 kB / 4.057 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/10.81, allocations: 406.4 kB / 4.057 GB, free: 142.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/10.81, allocations: 0.7223 MB / 4.058 GB, free: 141.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007169/10.81, allocations: 460.3 kB / 4.058 GB, free: 140.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/10.81, allocations: 4 kB / 4.058 GB, free: 140.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001847/10.81, allocations: 1.158 MB / 4.059 GB, free: 139.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/10.81, allocations: 8.969 kB / 4.059 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/10.81, allocations: 8 kB / 4.059 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/10.81, allocations: 16 kB / 4.06 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/10.82, allocations: 311.5 kB / 4.06 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/10.82, allocations: 15.94 kB / 4.06 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/10.82, allocations: 191 kB / 4.06 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/10.82, allocations: 63.91 kB / 4.06 GB, free: 139.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.0002529/10.82, allocations: 142.9 kB / 4.06 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001567/10.82, allocations: 1.006 MB / 4.061 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/10.82, allocations: 118.5 kB / 4.061 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/10.82, allocations: 1.157 MB / 4.062 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/10.82, allocations: 8 kB / 4.062 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/10.82, allocations: 0 / 4.062 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/10.82, allocations: 3.984 kB / 4.062 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/10.83, allocations: 2.58 MB / 4.065 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/10.83, allocations: 4.5 kB / 4.065 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/10.83, allocations: 251.6 kB / 4.065 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.811e-05/10.83, allocations: 8 kB / 4.065 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.283e-05/10.83, allocations: 27.95 kB / 4.065 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/10.83, allocations: 11.95 kB / 4.065 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/10.83, allocations: 7.938 kB / 4.065 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/10.83, allocations: 2.101 MB / 4.067 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006076/10.83, allocations: 327.4 kB / 4.068 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/10.83, allocations: 4 kB / 4.068 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/10.83, allocations: 143.7 kB / 4.068 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/10.83, allocations: 72.38 kB / 4.068 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.842e-05/10.83, allocations: 39.91 kB / 4.068 GB, free: 130.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008341/10.83, allocations: 0.6487 MB / 4.068 GB, free: 130.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/10.83, allocations: 0 / 4.068 GB, free: 130.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001832/10.84, allocations: 451.3 kB / 4.069 GB, free: 129.8 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.006419/10.84, allocations: 5.77 MB / 4.075 GB, free: 124.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001642/10.84, allocations: 1.001 MB / 4.076 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/10.84, allocations: 0 / 4.076 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007497/10.84, allocations: 0.5102 MB / 4.076 GB, free: 122.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/10.85, allocations: 433.8 kB / 4.076 GB, free: 122.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/10.86, allocations: 2.945 MB / 4.079 GB, free: 119.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008864/10.86, allocations: 1.207 MB / 4.081 GB, free: 118 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001853/10.87, allocations: 348.1 kB / 4.081 GB, free: 117.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009472/10.87, allocations: 0.5104 MB / 4.081 GB, free: 117.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.412e-06/10.87, allocations: 0 / 4.081 GB, free: 117.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08582/10.95, allocations: 40.96 MB / 4.121 GB, free: 76.41 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/10.95, allocations: 180.3 kB / 4.122 GB, free: 76.21 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.751/14.7, allocations: 0 / 4.122 GB, free: 76.21 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)