Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.64/1.64, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.001161/0.001161, allocations: 188.8 kB / 321.3 MB, free: 14.64 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.741/1.741, 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.0009283/0.0009286, allocations: 86.53 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.925e-05/4.933e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2635, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.621/5.885, allocations: 2.186 GB / 3.078 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/5.885, allocations: 83.95 kB / 3.078 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.585/8.47, allocations: 0.6583 GB / 3.736 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.733e-06/8.47, allocations: 5.312 kB / 3.736 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001146/8.47, allocations: 47.73 kB / 3.736 GB, free: 164.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005813/8.476, allocations: 1.748 MB / 3.738 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/8.476, allocations: 7.312 kB / 3.738 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002036/8.476, allocations: 142.3 kB / 3.738 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005062/8.481, allocations: 0.8797 MB / 3.739 GB, free: 163 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/8.485, allocations: 1.113 MB / 3.74 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.451e-05/8.485, allocations: 71.97 kB / 3.74 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/8.485, allocations: 103.3 kB / 3.74 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/8.487, allocations: 1.267 MB / 3.742 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/8.487, allocations: 3.688 kB / 3.742 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/8.487, allocations: 31.28 kB / 3.742 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.522e-05/8.487, allocations: 52.3 kB / 3.742 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/8.489, allocations: 1.259 MB / 3.743 GB, free: 160.8 MB / 0.8698 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.007138/8.496, allocations: 4.803 MB / 3.748 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/8.498, allocations: 1.055 MB / 3.749 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008405/8.499, allocations: 0.5787 MB / 3.749 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/8.5, allocations: 0.9399 MB / 3.75 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009391/8.501, allocations: 0.6295 MB / 3.751 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=95): time 4.569e-06/8.501, allocations: 0 / 3.751 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002726/8.504, allocations: 1.221 MB / 3.752 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/8.504, allocations: 63.09 kB / 3.752 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/8.505, allocations: 1.055 MB / 3.753 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/8.505, allocations: 51.05 kB / 3.753 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/8.505, allocations: 0.5569 MB / 3.754 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/8.506, allocations: 323 kB / 3.754 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/8.506, allocations: 19.72 kB / 3.754 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/8.506, allocations: 348.6 kB / 3.754 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006702/8.507, allocations: 441.3 kB / 3.755 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008452/8.507, allocations: 0.7026 MB / 3.755 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/8.508, allocations: 492.7 kB / 3.756 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/8.508, allocations: 4 kB / 3.756 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001976/8.51, allocations: 1.249 MB / 3.757 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/8.51, allocations: 8 kB / 3.757 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/8.51, allocations: 4.562 kB / 3.757 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/8.51, allocations: 8 kB / 3.757 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/8.512, allocations: 342.2 kB / 3.757 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/8.512, allocations: 15.94 kB / 3.757 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/8.514, allocations: 266.7 kB / 3.758 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/8.514, allocations: 47.97 kB / 3.758 GB, free: 149.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.000303/8.515, allocations: 180 kB / 3.758 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/8.515, allocations: 134.3 kB / 3.758 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/8.517, allocations: 1.324 MB / 3.759 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/8.517, allocations: 15.94 kB / 3.759 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/8.517, allocations: 0 / 3.759 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/8.517, allocations: 3.984 kB / 3.759 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00455/8.522, allocations: 2.903 MB / 3.762 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/8.522, allocations: 4.5 kB / 3.762 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/8.523, allocations: 302.3 kB / 3.762 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/8.523, allocations: 15.92 kB / 3.762 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.504e-05/8.524, allocations: 31.98 kB / 3.762 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/8.524, allocations: 11.98 kB / 3.762 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/8.524, allocations: 7.938 kB / 3.762 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/8.527, allocations: 2.305 MB / 3.765 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008505/8.528, allocations: 351.1 kB / 3.765 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/8.528, allocations: 32 kB / 3.765 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/8.529, allocations: 179.7 kB / 3.765 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/8.529, allocations: 72.59 kB / 3.765 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/8.529, allocations: 39.97 kB / 3.765 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001097/8.53, allocations: 0.8257 MB / 3.766 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.81e-07/8.53, allocations: 0 / 3.766 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001908/8.532, allocations: 0.5114 MB / 3.767 GB, free: 140.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (101): * Single equations (assignments): 95 * 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.006901/8.539, allocations: 5.799 MB / 3.772 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002182/8.542, allocations: 1.105 MB / 3.773 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/8.542, allocations: 4 kB / 3.773 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000908/8.542, allocations: 0.5704 MB / 3.774 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003257/8.546, allocations: 0.6068 MB / 3.775 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/8.551, allocations: 2.646 MB / 3.777 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/8.552, allocations: 1.212 MB / 3.778 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001621/8.553, allocations: 380.6 kB / 3.779 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/8.554, allocations: 0.511 MB / 3.779 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/8.554, allocations: 0 / 3.779 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09975/8.654, allocations: 64.88 MB / 3.843 GB, free: 62.95 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003763/8.654, allocations: 203.6 kB / 3.843 GB, free: 62.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.789/13.44, allocations: 0 / 3.843 GB, free: 62.73 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)