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.415/1.415, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 184 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.001082/0.001082, allocations: 78.42 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004114, allocations: 8.812 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2881, allocations: 106.3 MB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.464/6.752, allocations: 2.186 GB / 3.086 GB, free: 246.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/6.753, allocations: 89.27 kB / 3.086 GB, free: 246.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.185/9.938, allocations: 0.9772 GB / 4.064 GB, free: 17.15 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.874e-06/9.938, allocations: 4 kB / 4.064 GB, free: 17.14 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001228/9.938, allocations: 43.92 kB / 4.064 GB, free: 17.1 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.007228/9.945, allocations: 1.93 MB / 4.065 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/9.945, allocations: 12.02 kB / 4.065 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000437/9.946, allocations: 147.4 kB / 4.066 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004322/9.95, allocations: 0.6928 MB / 4.066 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/9.954, allocations: 1.024 MB / 4.067 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/9.954, allocations: 69.98 kB / 4.067 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/9.954, allocations: 92 kB / 4.067 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002947/9.957, allocations: 1.455 MB / 4.069 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/9.957, allocations: 4 kB / 4.069 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/9.957, allocations: 43.94 kB / 4.069 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.097e-05/9.957, allocations: 45.98 kB / 4.069 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/9.961, allocations: 1.503 MB / 4.07 GB, free: 9.895 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.007663/9.968, allocations: 5.552 MB / 4.076 GB, free: 4.062 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/9.972, allocations: 1.317 MB / 4.077 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007574/9.972, allocations: 0.5813 MB / 4.078 GB, free: 2.047 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/9.974, allocations: 0.7108 MB / 4.078 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 3.557e-06/9.974, allocations: 0 / 4.078 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.5543/10.53, allocations: 1.914 MB / 4.08 GB, free: 177 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/10.53, allocations: 60.06 kB / 4.08 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/10.53, allocations: 1.107 MB / 4.081 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003247/10.53, allocations: 45.61 kB / 4.081 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005837/10.53, allocations: 0.5921 MB / 4.082 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/10.53, allocations: 278.8 kB / 4.082 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/10.53, allocations: 15.12 kB / 4.082 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/10.53, allocations: 347.1 kB / 4.083 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/10.53, allocations: 0.546 MB / 4.083 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/10.54, allocations: 0.8896 MB / 4.084 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/10.54, allocations: 0.6114 MB / 4.085 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/10.54, allocations: 0 / 4.085 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004263/10.54, allocations: 1.525 MB / 4.086 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/10.54, allocations: 10.39 kB / 4.086 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/10.54, allocations: 8.688 kB / 4.086 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.809e-05/10.54, allocations: 14.89 kB / 4.086 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/10.54, allocations: 300.9 kB / 4.086 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/10.54, allocations: 13.17 kB / 4.086 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/10.54, allocations: 243.9 kB / 4.087 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/10.55, allocations: 51.86 kB / 4.087 GB, free: 175.7 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 () * Number of clocked 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.0009118/10.55, allocations: 349.4 kB / 4.087 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003939/10.55, allocations: 134.1 kB / 4.087 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/10.55, allocations: 1.487 MB / 4.089 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/10.55, allocations: 8.406 kB / 4.089 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/10.55, allocations: 0.6562 kB / 4.089 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/10.55, allocations: 10.45 kB / 4.089 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008143/10.56, allocations: 2.94 MB / 4.092 GB, free: 175 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/10.56, allocations: 5.344 kB / 4.092 GB, free: 175 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/10.56, allocations: 234.1 kB / 4.092 GB, free: 175 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-05/10.56, allocations: 8.344 kB / 4.092 GB, free: 175 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/10.56, allocations: 34.45 kB / 4.092 GB, free: 175 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.789e-05/10.56, allocations: 12.14 kB / 4.092 GB, free: 175 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/10.56, allocations: 6.906 kB / 4.092 GB, free: 175 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006495/10.57, allocations: 2.563 MB / 4.094 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/10.57, allocations: 338.8 kB / 4.095 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/10.57, allocations: 27.41 kB / 4.095 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/10.57, allocations: 134.8 kB / 4.095 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/10.57, allocations: 70.03 kB / 4.095 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.716e-05/10.57, allocations: 34.28 kB / 4.095 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00168/10.57, allocations: 0.8604 MB / 4.096 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/10.57, allocations: 0 / 4.096 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003357/10.58, allocations: 0.4999 MB / 4.096 GB, free: 174.1 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) * Number of clocked states: 0 () * 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.01123/10.59, allocations: 6.102 MB / 4.102 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003942/10.59, allocations: 1.325 MB / 4.104 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/10.59, allocations: 0 / 4.104 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001745/10.59, allocations: 0.6673 MB / 4.104 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00312/10.6, allocations: 0.5739 MB / 4.105 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/10.62, allocations: 13.51 MB / 4.118 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/10.62, allocations: 1.205 MB / 4.119 GB, free: 163 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001905/10.62, allocations: 357 kB / 4.119 GB, free: 163 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008765/10.62, allocations: 0.4961 MB / 4.12 GB, free: 163 MB / 0.8855 GB Notification: Performance of SimCode: time 1.563e-06/10.62, allocations: 0 / 4.12 GB, free: 163 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/10.73, allocations: 58.95 MB / 4.177 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/10.73, allocations: 240.5 kB / 4.178 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.29/15.01, allocations: 0 / 4.178 GB, free: 161.4 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)