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.572/1.572, allocations: 249.3 MB / 261.8 MB, free: 5.934 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.001255/0.001255, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0008547/0.0008547, allocations: 93.28 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.723e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2915, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.519/6.81, allocations: 2.186 GB / 3.078 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/6.811, allocations: 87.05 kB / 3.078 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.704/10.52, allocations: 0.9762 GB / 4.054 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.092e-06/10.52, allocations: 0 / 4.054 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001103/10.52, allocations: 40.08 kB / 4.054 GB, free: 176.8 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.005596/10.52, allocations: 1.722 MB / 4.056 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/10.52, allocations: 9.719 kB / 4.056 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/10.52, allocations: 144.6 kB / 4.056 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004208/10.53, allocations: 0.6866 MB / 4.057 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/10.53, allocations: 1.025 MB / 4.058 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.556e-05/10.53, allocations: 68.06 kB / 4.058 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/10.53, allocations: 95.33 kB / 4.058 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/10.53, allocations: 1.248 MB / 4.059 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/10.53, allocations: 6.562 kB / 4.059 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/10.53, allocations: 36.09 kB / 4.059 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/10.53, allocations: 47 kB / 4.059 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/10.53, allocations: 1.118 MB / 4.06 GB, free: 175.3 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.008064/10.54, allocations: 5.561 MB / 4.066 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/10.54, allocations: 0.8617 MB / 4.067 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006967/10.54, allocations: 492.5 kB / 4.067 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007989/10.54, allocations: 0.579 MB / 4.068 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007894/10.55, allocations: 0.5381 MB / 4.068 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 4.047e-06/10.55, allocations: 0 / 4.068 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.002617/10.55, allocations: 0.9999 MB / 4.069 GB, free: 170 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/10.55, allocations: 62.97 kB / 4.069 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/10.55, allocations: 1.088 MB / 4.07 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/10.55, allocations: 47.39 kB / 4.07 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/10.55, allocations: 0.5881 MB / 4.071 GB, free: 169 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/10.55, allocations: 276 kB / 4.071 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/10.55, allocations: 19 kB / 4.071 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/10.55, allocations: 345.9 kB / 4.071 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/10.55, allocations: 363.6 kB / 4.072 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007675/10.55, allocations: 0.7156 MB / 4.073 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006215/10.55, allocations: 433.5 kB / 4.073 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/10.55, allocations: 0 / 4.073 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001948/10.55, allocations: 1.161 MB / 4.074 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/10.55, allocations: 11.44 kB / 4.074 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/10.55, allocations: 7.406 kB / 4.074 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/10.55, allocations: 15.11 kB / 4.074 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/10.56, allocations: 300.3 kB / 4.074 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-05/10.56, allocations: 11.47 kB / 4.074 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/10.56, allocations: 240.8 kB / 4.075 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/10.56, allocations: 54.58 kB / 4.075 GB, free: 167.1 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.0002399/10.56, allocations: 177.6 kB / 4.075 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/10.56, allocations: 129.2 kB / 4.075 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/10.56, allocations: 1.12 MB / 4.076 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/10.56, allocations: 16.59 kB / 4.076 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/10.56, allocations: 0 / 4.076 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/10.56, allocations: 3.141 kB / 4.076 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004096/10.56, allocations: 2.565 MB / 4.079 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/10.56, allocations: 3.812 kB / 4.079 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/10.57, allocations: 232.3 kB / 4.079 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/10.57, allocations: 11.86 kB / 4.079 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.717e-05/10.57, allocations: 30.94 kB / 4.079 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/10.57, allocations: 6.812 kB / 4.079 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/10.57, allocations: 7.875 kB / 4.079 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/10.57, allocations: 1.996 MB / 4.081 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007161/10.57, allocations: 340 kB / 4.081 GB, free: 164 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/10.57, allocations: 18.12 kB / 4.081 GB, free: 164 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/10.57, allocations: 149.7 kB / 4.081 GB, free: 164 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/10.57, allocations: 69.08 kB / 4.081 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/10.57, allocations: 38.56 kB / 4.081 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00102/10.57, allocations: 0.8451 MB / 4.082 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/10.57, allocations: 0 / 4.082 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001921/10.57, allocations: 0.4895 MB / 4.083 GB, free: 163.5 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.006284/10.58, allocations: 5.503 MB / 4.088 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001835/10.58, allocations: 0.9436 MB / 4.089 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/10.58, allocations: 3.938 kB / 4.089 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007825/10.58, allocations: 495.1 kB / 4.089 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/10.59, allocations: 0.5725 MB / 4.09 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/10.59, allocations: 2.288 MB / 4.092 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009683/10.59, allocations: 1.209 MB / 4.093 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001976/10.6, allocations: 356.7 kB / 4.094 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009533/10.6, allocations: 0.5023 MB / 4.094 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.252e-06/10.6, allocations: 0 / 4.094 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1/10.7, allocations: 63.31 MB / 4.156 GB, free: 96.85 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/10.7, allocations: 211.4 kB / 4.156 GB, free: 96.62 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.257/14.95, allocations: 0 / 4.156 GB, free: 96.62 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)