Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.5 MB / 257 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 175.9 kB / 316.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008602/0.0008603, allocations: 89.97 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.841e-05/1.844e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 106.4 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.377/5.581, allocations: 2.186 GB / 3.072 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/5.581, allocations: 84.55 kB / 3.072 GB, free: 222 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.789/9.37, allocations: 0.9646 GB / 4.036 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.863e-06/9.37, allocations: 0 / 4.036 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001115/9.37, allocations: 50.84 kB / 4.036 GB, free: 173.3 MB / 0.8855 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.005688/9.376, allocations: 1.716 MB / 4.038 GB, free: 172.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/9.376, allocations: 11.97 kB / 4.038 GB, free: 172.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/9.38, allocations: 0.6966 MB / 4.039 GB, free: 172.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/9.383, allocations: 1.023 MB / 4.04 GB, free: 172.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/9.383, allocations: 26.72 kB / 4.04 GB, free: 172.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/9.383, allocations: 57.75 kB / 4.04 GB, free: 172.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001499/9.384, allocations: 0.9225 MB / 4.041 GB, free: 172.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/9.386, allocations: 1.127 MB / 4.042 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/9.386, allocations: 4.781 kB / 4.042 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/9.386, allocations: 7.641 kB / 4.042 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.723e-05/9.386, allocations: 48.09 kB / 4.042 GB, free: 171.9 MB / 0.8855 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.007673/9.394, allocations: 5.565 MB / 4.047 GB, free: 169 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/9.395, allocations: 0.8943 MB / 4.048 GB, free: 169 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006362/9.396, allocations: 482.9 kB / 4.049 GB, free: 169 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000807/9.396, allocations: 0.5802 MB / 4.049 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008516/9.397, allocations: 0.5819 MB / 4.05 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 3.847e-06/9.397, allocations: 0 / 4.05 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.002272/9.4, allocations: 1.062 MB / 4.051 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/9.4, allocations: 63.73 kB / 4.051 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/9.401, allocations: 0.8586 MB / 4.052 GB, free: 168 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/9.401, allocations: 32.61 kB / 4.052 GB, free: 168 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/9.401, allocations: 0.5921 MB / 4.052 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/9.401, allocations: 267.2 kB / 4.053 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/9.402, allocations: 0 / 4.053 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/9.402, allocations: 339.8 kB / 4.053 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/9.402, allocations: 409.8 kB / 4.053 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/9.403, allocations: 0.7278 MB / 4.054 GB, free: 167 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/9.404, allocations: 459.2 kB / 4.054 GB, free: 167 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/9.404, allocations: 2.469 kB / 4.054 GB, free: 167 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00164/9.405, allocations: 1.165 MB / 4.056 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/9.405, allocations: 11.72 kB / 4.056 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/9.405, allocations: 3.906 kB / 4.056 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/9.405, allocations: 15.34 kB / 4.056 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/9.407, allocations: 317.6 kB / 4.056 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/9.407, allocations: 11.53 kB / 4.056 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/9.408, allocations: 190.6 kB / 4.056 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/9.408, allocations: 58.2 kB / 4.056 GB, free: 166.9 MB / 0.8855 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.00023/9.408, allocations: 140.7 kB / 4.056 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001431/9.41, allocations: 1.014 MB / 4.057 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/9.41, allocations: 117.6 kB / 4.057 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/9.412, allocations: 1.157 MB / 4.059 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/9.412, allocations: 10.36 kB / 4.059 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/9.412, allocations: 2.875 kB / 4.059 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/9.412, allocations: 7.594 kB / 4.059 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/9.416, allocations: 2.575 MB / 4.061 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/9.416, allocations: 3.406 kB / 4.061 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/9.417, allocations: 250.7 kB / 4.061 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/9.417, allocations: 9.625 kB / 4.061 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/9.417, allocations: 25.62 kB / 4.061 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/9.417, allocations: 7.25 kB / 4.061 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/9.417, allocations: 6.312 kB / 4.061 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/9.419, allocations: 2.099 MB / 4.063 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005445/9.42, allocations: 326.3 kB / 4.064 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/9.42, allocations: 9.438 kB / 4.064 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/9.421, allocations: 135.5 kB / 4.064 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/9.421, allocations: 72.66 kB / 4.064 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/9.421, allocations: 39.48 kB / 4.064 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008558/9.422, allocations: 0.6471 MB / 4.065 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/9.422, allocations: 0 / 4.065 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001663/9.424, allocations: 451.1 kB / 4.065 GB, free: 165.2 MB / 0.8855 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.006883/9.431, allocations: 5.781 MB / 4.071 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002241/9.433, allocations: 0.9993 MB / 4.072 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/9.433, allocations: 0 / 4.072 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009649/9.434, allocations: 0.5155 MB / 4.072 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/9.437, allocations: 431.7 kB / 4.073 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/9.451, allocations: 2.951 MB / 4.075 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/9.452, allocations: 1.212 MB / 4.077 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001426/9.453, allocations: 347.2 kB / 4.077 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006953/9.454, allocations: 0.494 MB / 4.077 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of SimCode: time 6.71e-07/9.454, allocations: 3.406 kB / 4.077 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0737/9.528, allocations: 40.95 MB / 4.117 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/9.528, allocations: 192.4 kB / 4.118 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.247/12.77, allocations: 0 / 4.118 GB, free: 157.7 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)