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.743/1.743, allocations: 292.6 MB / 307.5 MB, free: 5.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.001158/0.001158, allocations: 182.5 kB / 377.1 MB, free: 1.52 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.673/1.673, allocations: 205.4 MB / 0.6366 GB, free: 8.551 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.001037/0.001037, allocations: 90.77 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.29, allocations: 116.3 MB / 0.9884 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.768/6.058, allocations: 2.069 GB / 3.057 GB, free: 151 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/6.058, allocations: 88.47 kB / 3.057 GB, free: 151 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.187/10.24, allocations: 1.011 GB / 4.069 GB, free: 162.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.147e-06/10.24, allocations: 3.938 kB / 4.069 GB, free: 162.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001614/10.24, allocations: 46.28 kB / 4.069 GB, free: 162.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.008638/10.25, allocations: 1.931 MB / 4.071 GB, free: 161.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.87e-05/10.25, allocations: 13.06 kB / 4.071 GB, free: 161.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004122/10.25, allocations: 140.5 kB / 4.071 GB, free: 161.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/10.26, allocations: 0.6903 MB / 4.071 GB, free: 161.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/10.26, allocations: 1.026 MB / 4.072 GB, free: 161 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.571e-05/10.26, allocations: 68.61 kB / 4.072 GB, free: 161 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/10.26, allocations: 94.97 kB / 4.073 GB, free: 161 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003142/10.27, allocations: 1.454 MB / 4.074 GB, free: 160.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/10.27, allocations: 3.938 kB / 4.074 GB, free: 160.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/10.27, allocations: 30.98 kB / 4.074 GB, free: 160.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.091e-05/10.27, allocations: 58.53 kB / 4.074 GB, free: 160.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/10.27, allocations: 1.504 MB / 4.076 GB, free: 160.8 MB / 0.9636 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.008464/10.28, allocations: 5.562 MB / 4.081 GB, free: 157.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/10.28, allocations: 1.317 MB / 4.082 GB, free: 157.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009537/10.28, allocations: 0.5783 MB / 4.083 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001843/10.28, allocations: 0.7102 MB / 4.083 GB, free: 157.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=80): time 5.901e-06/10.28, allocations: 3.938 kB / 4.083 GB, free: 157.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=80): time 0.005677/10.29, allocations: 1.92 MB / 4.085 GB, free: 157 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/10.29, allocations: 57.47 kB / 4.085 GB, free: 156.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/10.29, allocations: 1.104 MB / 4.086 GB, free: 156.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/10.29, allocations: 43.14 kB / 4.087 GB, free: 156.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005707/10.29, allocations: 0.6022 MB / 4.087 GB, free: 156.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/10.29, allocations: 273.4 kB / 4.087 GB, free: 156.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/10.29, allocations: 17 kB / 4.087 GB, free: 156.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000105/10.29, allocations: 349 kB / 4.088 GB, free: 156.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/10.29, allocations: 0.5451 MB / 4.088 GB, free: 156.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/10.3, allocations: 0.8952 MB / 4.089 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/10.3, allocations: 0.6074 MB / 4.09 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/10.3, allocations: 7.531 kB / 4.09 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004139/10.3, allocations: 1.523 MB / 4.091 GB, free: 155.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/10.3, allocations: 7.406 kB / 4.091 GB, free: 155.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/10.3, allocations: 9.906 kB / 4.091 GB, free: 155.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.098e-05/10.3, allocations: 14.22 kB / 4.091 GB, free: 155.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/10.3, allocations: 294.5 kB / 4.092 GB, free: 155.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/10.3, allocations: 22 kB / 4.092 GB, free: 155.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/10.31, allocations: 243.7 kB / 4.092 GB, free: 155.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/10.31, allocations: 47.88 kB / 4.092 GB, free: 155.4 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 () * 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.0008614/10.31, allocations: 345.9 kB / 4.092 GB, free: 155.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/10.31, allocations: 131.1 kB / 4.092 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/10.31, allocations: 1.49 MB / 4.094 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/10.31, allocations: 7.469 kB / 4.094 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/10.31, allocations: 0 / 4.094 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/10.31, allocations: 6.891 kB / 4.094 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006677/10.32, allocations: 2.943 MB / 4.097 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/10.32, allocations: 3.406 kB / 4.097 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/10.32, allocations: 238.9 kB / 4.097 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.434e-05/10.32, allocations: 11.72 kB / 4.097 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-05/10.32, allocations: 30.88 kB / 4.097 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/10.32, allocations: 6.562 kB / 4.097 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/10.32, allocations: 15.27 kB / 4.097 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0056/10.32, allocations: 2.571 MB / 4.099 GB, free: 154 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/10.33, allocations: 328.7 kB / 4.1 GB, free: 153.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/10.33, allocations: 24.28 kB / 4.1 GB, free: 153.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/10.33, allocations: 146.9 kB / 4.1 GB, free: 153.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/10.33, allocations: 65.3 kB / 4.1 GB, free: 153.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.652e-05/10.33, allocations: 39.56 kB / 4.1 GB, free: 153.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001259/10.33, allocations: 0.8552 MB / 4.101 GB, free: 153.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.51e-07/10.33, allocations: 0 / 4.101 GB, free: 153.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002202/10.33, allocations: 0.489 MB / 4.101 GB, free: 153.6 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) * 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.009457/10.34, allocations: 6.116 MB / 4.107 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003756/10.34, allocations: 1.322 MB / 4.109 GB, free: 149.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/10.34, allocations: 0 / 4.109 GB, free: 149.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/10.35, allocations: 0.6721 MB / 4.109 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/10.35, allocations: 0.5724 MB / 4.11 GB, free: 149.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/10.37, allocations: 13.51 MB / 4.123 GB, free: 140.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008424/10.37, allocations: 1.206 MB / 4.124 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001913/10.37, allocations: 356.7 kB / 4.125 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008302/10.37, allocations: 0.4969 MB / 4.125 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.352e-06/10.37, allocations: 0 / 4.125 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/10.48, allocations: 58.95 MB / 4.183 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/10.48, allocations: 236 kB / 4.183 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.477/14.96, allocations: 4 kB / 4.183 GB, free: 116.5 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)