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.758/1.758, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.00142/0.00142, allocations: 176.5 kB / 371.6 MB, free: 3.422 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.981/1.981, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.001005/0.001005, allocations: 91.59 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.553e-05/5.557e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3422, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.823/6.165, allocations: 2.069 GB / 3.049 GB, free: 173.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004801/6.166, allocations: 84.52 kB / 3.049 GB, free: 173.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.359/10.52, allocations: 1.01 GB / 4.059 GB, free: 161.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.683e-06/10.52, allocations: 3.25 kB / 4.059 GB, free: 161.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002445/10.52, allocations: 48.12 kB / 4.059 GB, free: 161.4 MB / 0.9636 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.01002/10.54, allocations: 1.725 MB / 4.061 GB, free: 160.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/10.54, allocations: 13.25 kB / 4.061 GB, free: 160.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006075/10.54, allocations: 135.5 kB / 4.061 GB, free: 160.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006208/10.54, allocations: 0.6995 MB / 4.062 GB, free: 160.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003841/10.55, allocations: 1.011 MB / 4.063 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.65e-05/10.55, allocations: 73.34 kB / 4.063 GB, free: 160.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/10.55, allocations: 89.64 kB / 4.063 GB, free: 160.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/10.55, allocations: 1.247 MB / 4.064 GB, free: 160 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/10.55, allocations: 6.062 kB / 4.064 GB, free: 160 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/10.55, allocations: 42.02 kB / 4.064 GB, free: 160 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-05/10.55, allocations: 52.05 kB / 4.064 GB, free: 160 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/10.55, allocations: 1.109 MB / 4.065 GB, free: 160 MB / 0.9636 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.008157/10.56, allocations: 5.551 MB / 4.071 GB, free: 157.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/10.56, allocations: 0.8683 MB / 4.071 GB, free: 157.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/10.56, allocations: 484.6 kB / 4.072 GB, free: 157 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007738/10.56, allocations: 0.5871 MB / 4.072 GB, free: 156.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007926/10.56, allocations: 0.5328 MB / 4.073 GB, free: 156.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=80): time 2.806e-06/10.56, allocations: 0 / 4.073 GB, free: 156.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=80): time 0.002305/10.57, allocations: 0.9986 MB / 4.074 GB, free: 156.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/10.57, allocations: 64.97 kB / 4.074 GB, free: 156.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/10.57, allocations: 1.092 MB / 4.075 GB, free: 156.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/10.57, allocations: 45.27 kB / 4.075 GB, free: 156.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/10.57, allocations: 0.5968 MB / 4.076 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.00026/10.57, allocations: 275.2 kB / 4.076 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/10.57, allocations: 23.25 kB / 4.076 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001039/10.57, allocations: 340.4 kB / 4.076 GB, free: 155.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006798/10.57, allocations: 368.6 kB / 4.077 GB, free: 155.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009385/10.57, allocations: 0.7051 MB / 4.077 GB, free: 155 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/10.57, allocations: 433.5 kB / 4.078 GB, free: 155 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/10.57, allocations: 3.438 kB / 4.078 GB, free: 155 MB / 0.9636 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002013/10.57, allocations: 1.151 MB / 4.079 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/10.57, allocations: 9.156 kB / 4.079 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/10.57, allocations: 7.25 kB / 4.079 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.509e-05/10.57, allocations: 14.03 kB / 4.079 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/10.57, allocations: 305.1 kB / 4.079 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/10.57, allocations: 17.97 kB / 4.079 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/10.58, allocations: 235.6 kB / 4.079 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/10.58, allocations: 54.38 kB / 4.079 GB, free: 154.8 MB / 0.9636 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.0002512/10.58, allocations: 183.3 kB / 4.08 GB, free: 154.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/10.58, allocations: 134 kB / 4.08 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/10.58, allocations: 1.114 MB / 4.081 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/10.58, allocations: 9.375 kB / 4.081 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/10.58, allocations: 0 / 4.081 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/10.58, allocations: 3.797 kB / 4.081 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004122/10.58, allocations: 2.572 MB / 4.083 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/10.58, allocations: 3.656 kB / 4.083 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/10.58, allocations: 236.8 kB / 4.084 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/10.58, allocations: 7.844 kB / 4.084 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.122e-05/10.58, allocations: 33.27 kB / 4.084 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/10.58, allocations: 8.5 kB / 4.084 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/10.58, allocations: 11.48 kB / 4.084 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/10.59, allocations: 1.995 MB / 4.086 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007732/10.59, allocations: 337.1 kB / 4.086 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/10.59, allocations: 20.23 kB / 4.086 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/10.59, allocations: 146.3 kB / 4.086 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/10.59, allocations: 63.41 kB / 4.086 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.602e-05/10.59, allocations: 34.95 kB / 4.086 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001158/10.59, allocations: 0.8467 MB / 4.087 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2e-07/10.59, allocations: 0 / 4.087 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001913/10.59, allocations: 0.4991 MB / 4.087 GB, free: 153.1 MB / 0.9636 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.006822/10.6, allocations: 5.485 MB / 4.093 GB, free: 150.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001926/10.6, allocations: 0.9485 MB / 4.094 GB, free: 150.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/10.6, allocations: 3.281 kB / 4.094 GB, free: 150.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000765/10.6, allocations: 498.4 kB / 4.094 GB, free: 150.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003531/10.61, allocations: 0.5803 MB / 4.095 GB, free: 150.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/10.61, allocations: 2.291 MB / 4.097 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/10.61, allocations: 1.21 MB / 4.098 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001659/10.61, allocations: 355.3 kB / 4.099 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008324/10.61, allocations: 0.4948 MB / 4.099 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.293e-06/10.61, allocations: 0 / 4.099 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/10.72, allocations: 63.31 MB / 4.161 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/10.72, allocations: 204.4 kB / 4.161 GB, free: 139 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.879/15.6, allocations: 0 / 4.161 GB, free: 139 MB / 0.9636 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)