Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.663/1.663, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001208/0.001208, allocations: 169.2 kB / 371.8 MB, free: 10.13 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.955/1.955, allocations: 205.4 MB / 0.6305 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009413/0.0009414, allocations: 92.47 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004181, allocations: 20.73 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2614, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.922/6.183, allocations: 2.068 GB / 3.047 GB, free: 203.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004043/6.184, allocations: 88.2 kB / 3.047 GB, free: 203.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.097/10.28, allocations: 1.011 GB / 4.059 GB, free: 185.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.954e-06/10.28, allocations: 0 / 4.059 GB, free: 185.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002135/10.28, allocations: 41.19 kB / 4.059 GB, free: 185.3 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.008169/10.29, allocations: 1.934 MB / 4.061 GB, free: 184.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/10.29, allocations: 14 kB / 4.061 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000562/10.29, allocations: 139.5 kB / 4.061 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/10.29, allocations: 0.6978 MB / 4.061 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/10.3, allocations: 1.02 MB / 4.062 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/10.3, allocations: 73.11 kB / 4.063 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004703/10.3, allocations: 96 kB / 4.063 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003717/10.3, allocations: 1.446 MB / 4.064 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/10.3, allocations: 8.188 kB / 4.064 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/10.3, allocations: 31.78 kB / 4.064 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.598e-05/10.3, allocations: 56.41 kB / 4.064 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/10.31, allocations: 1.513 MB / 4.066 GB, free: 183.9 MB / 0.948 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.009194/10.32, allocations: 5.54 MB / 4.071 GB, free: 180.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/10.32, allocations: 1.314 MB / 4.072 GB, free: 180.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008248/10.32, allocations: 0.5844 MB / 4.073 GB, free: 180.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001804/10.32, allocations: 0.7113 MB / 4.074 GB, free: 180.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.908e-06/10.32, allocations: 0 / 4.074 GB, free: 180.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.00562/10.33, allocations: 1.915 MB / 4.075 GB, free: 180.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/10.33, allocations: 63 kB / 4.076 GB, free: 180.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/10.33, allocations: 1.111 MB / 4.077 GB, free: 180 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/10.33, allocations: 45.11 kB / 4.077 GB, free: 179.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/10.33, allocations: 0.5866 MB / 4.077 GB, free: 179.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/10.33, allocations: 280.1 kB / 4.077 GB, free: 179.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/10.33, allocations: 19.75 kB / 4.077 GB, free: 179.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/10.33, allocations: 348.6 kB / 4.078 GB, free: 179.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/10.33, allocations: 0.5524 MB / 4.078 GB, free: 179.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/10.34, allocations: 0.8875 MB / 4.079 GB, free: 178.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/10.34, allocations: 0.6128 MB / 4.08 GB, free: 178.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/10.34, allocations: 3.969 kB / 4.08 GB, free: 178.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004033/10.34, allocations: 1.523 MB / 4.081 GB, free: 178.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/10.34, allocations: 9.406 kB / 4.081 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/10.34, allocations: 7.906 kB / 4.081 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-05/10.34, allocations: 19.5 kB / 4.081 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/10.34, allocations: 299.8 kB / 4.082 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.841e-05/10.34, allocations: 22.39 kB / 4.082 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/10.34, allocations: 229.1 kB / 4.082 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/10.35, allocations: 57.09 kB / 4.082 GB, free: 178.8 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 () * 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.0008218/10.35, allocations: 342.2 kB / 4.082 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/10.35, allocations: 133.7 kB / 4.082 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/10.35, allocations: 1.49 MB / 4.084 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/10.35, allocations: 11.16 kB / 4.084 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/10.35, allocations: 3.125 kB / 4.084 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/10.35, allocations: 3.703 kB / 4.084 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006756/10.36, allocations: 2.951 MB / 4.087 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/10.36, allocations: 3.844 kB / 4.087 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/10.36, allocations: 228.9 kB / 4.087 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.791e-05/10.36, allocations: 7.781 kB / 4.087 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/10.36, allocations: 30.7 kB / 4.087 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/10.36, allocations: 12.53 kB / 4.087 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/10.36, allocations: 10.28 kB / 4.087 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005318/10.36, allocations: 2.564 MB / 4.09 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/10.37, allocations: 335.1 kB / 4.09 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004112/10.37, allocations: 29.12 kB / 4.09 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/10.37, allocations: 136.9 kB / 4.09 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/10.37, allocations: 62.22 kB / 4.09 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.884e-05/10.37, allocations: 38.39 kB / 4.09 GB, free: 177.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001475/10.37, allocations: 0.8588 MB / 4.091 GB, free: 177.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/10.37, allocations: 6.969 kB / 4.091 GB, free: 177.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002476/10.37, allocations: 0.4892 MB / 4.091 GB, free: 177.1 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) * 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.009395/10.38, allocations: 6.115 MB / 4.097 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003714/10.38, allocations: 1.324 MB / 4.099 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/10.38, allocations: 0 / 4.099 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/10.39, allocations: 0.6655 MB / 4.099 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/10.39, allocations: 0.5731 MB / 4.1 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/10.41, allocations: 13.51 MB / 4.113 GB, free: 166.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000846/10.41, allocations: 1.212 MB / 4.114 GB, free: 166 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001906/10.41, allocations: 357.3 kB / 4.115 GB, free: 165.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009677/10.41, allocations: 0.489 MB / 4.115 GB, free: 165.9 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/10.41, allocations: 0 / 4.115 GB, free: 165.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0959/10.51, allocations: 58.97 MB / 4.173 GB, free: 145.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/10.51, allocations: 239.6 kB / 4.173 GB, free: 144.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.018/14.53, allocations: 7.938 kB / 4.173 GB, free: 144.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)