Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.551/1.551, allocations: 288.2 MB / 303.2 MB, free: 8.23 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.0009214/0.0009214, allocations: 169.9 kB / 371.8 MB, free: 10.29 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.432/1.432, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001026/0.001025, allocations: 94.86 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007059/0.000706, allocations: 12.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2336, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6643/0.8979, allocations: 160.8 MB / 1.136 GB, free: 180 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008825/0.9068, allocations: 4.919 MB / 1.141 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.9084, allocations: 38.78 kB / 1.141 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.9107, allocations: 0.778 MB / 1.142 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00638/0.9171, allocations: 1.757 MB / 1.144 GB, free: 14.19 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0045/0.9217, allocations: 1.184 MB / 1.145 GB, free: 13.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003736/0.9254, allocations: 1.672 MB / 1.147 GB, free: 12.72 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.9269, allocations: 0.7962 MB / 1.147 GB, free: 12.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.9296, allocations: 0.9813 MB / 1.148 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.9309, allocations: 0.7173 MB / 1.149 GB, free: 11.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.9311, allocations: 48.38 kB / 1.149 GB, free: 11.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.9342, allocations: 0.929 MB / 1.15 GB, free: 10.83 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004743/0.9347, allocations: 388.1 kB / 1.15 GB, free: 10.6 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.9352, allocations: 270 kB / 1.151 GB, free: 10.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.9374, allocations: 1.333 MB / 1.152 GB, free: 9.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.9374, allocations: 0 / 1.152 GB, free: 9.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.012e-06/0.9374, allocations: 1 kB / 1.152 GB, free: 9.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.9374, allocations: 0 / 1.152 GB, free: 9.621 MB / 0.698 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.005143/0.9425, allocations: 1.72 MB / 1.154 GB, free: 8.336 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.9426, allocations: 13.11 kB / 1.154 GB, free: 8.332 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002355/0.9429, allocations: 138.7 kB / 1.154 GB, free: 8.219 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005633/0.9485, allocations: 0.9305 MB / 1.155 GB, free: 7.824 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.9507, allocations: 0.8729 MB / 1.155 GB, free: 7.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/0.9508, allocations: 72.86 kB / 1.156 GB, free: 7.109 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.951, allocations: 93.2 kB / 1.156 GB, free: 7.078 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003941/0.955, allocations: 1.567 MB / 1.157 GB, free: 6.156 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.955, allocations: 1.062 kB / 1.157 GB, free: 6.156 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.9551, allocations: 35.89 kB / 1.157 GB, free: 6.129 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.538e-05/0.9552, allocations: 52.16 kB / 1.157 GB, free: 6.117 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005204/0.9604, allocations: 1.837 MB / 1.159 GB, free: 5.246 MB / 0.698 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.007622/0.9681, allocations: 4.288 MB / 1.163 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004796/0.9729, allocations: 1.591 MB / 1.165 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/0.9734, allocations: 170.8 kB / 1.165 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00243/0.9758, allocations: 0.9043 MB / 1.166 GB, free: 456 kB / 0.698 GB Notification: Performance of pre-optimization done (n=95): time 2.996e-06/0.9759, allocations: 0 / 1.166 GB, free: 456 kB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.007677/0.9835, allocations: 2.43 MB / 1.168 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.9836, allocations: 66.23 kB / 1.168 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.9851, allocations: 1.202 MB / 1.169 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.9853, allocations: 50.8 kB / 1.17 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.9857, allocations: 0.542 MB / 1.17 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.9861, allocations: 328.2 kB / 1.17 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-05/0.9862, allocations: 21.78 kB / 1.17 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.9863, allocations: 337.3 kB / 1.171 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.9884, allocations: 0.6915 MB / 1.171 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.9907, allocations: 0.9215 MB / 1.172 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.9928, allocations: 0.714 MB / 1.173 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.9928, allocations: 0 / 1.173 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004989/0.9978, allocations: 1.758 MB / 1.175 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.9978, allocations: 11.44 kB / 1.175 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.9979, allocations: 5.719 kB / 1.175 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.9979, allocations: 7.406 kB / 1.175 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.9996, allocations: 342.5 kB / 1.175 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-05/0.9997, allocations: 12.3 kB / 1.175 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/1.002, allocations: 262.9 kB / 1.175 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1.002, allocations: 46.88 kB / 1.175 GB, free: 11.15 MB / 0.7136 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.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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 (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.0007917/1.003, allocations: 342.3 kB / 1.176 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/1.003, allocations: 137.2 kB / 1.176 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005107/1.008, allocations: 1.78 MB / 1.178 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.008, allocations: 10.91 kB / 1.178 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.008, allocations: 0 / 1.178 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/1.008, allocations: 7.938 kB / 1.178 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007728/1.016, allocations: 3.308 MB / 1.181 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.016, allocations: 10.95 kB / 1.181 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/1.018, allocations: 292.5 kB / 1.181 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/1.018, allocations: 10.75 kB / 1.181 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/1.018, allocations: 37.83 kB / 1.181 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/1.018, allocations: 7.438 kB / 1.181 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.018, allocations: 9.906 kB / 1.181 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007412/1.025, allocations: 3.013 MB / 1.184 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008571/1.026, allocations: 339 kB / 1.184 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/1.026, allocations: 22.28 kB / 1.184 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.028, allocations: 168.5 kB / 1.185 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.028, allocations: 76.55 kB / 1.185 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.028, allocations: 39.97 kB / 1.185 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001161/1.029, allocations: 0.8279 MB / 1.185 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.029, allocations: 0 / 1.185 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001175/1.03, allocations: 347.5 kB / 1.186 GB, free: 4.301 MB / 0.7136 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * 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.009206/1.039, allocations: 5.076 MB / 1.191 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004869/1.044, allocations: 1.595 MB / 1.192 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.044, allocations: 0 / 1.192 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002338/1.047, allocations: 0.8321 MB / 1.193 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/1.05, allocations: 0.5952 MB / 1.194 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/1.071, allocations: 12.16 MB / 1.206 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00091/1.072, allocations: 1.22 MB / 1.207 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001872/1.074, allocations: 370.2 kB / 1.207 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008443/1.075, allocations: 0.4993 MB / 1.208 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/1.075, allocations: 0 / 1.208 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06694/1.142, allocations: 34.26 MB / 1.241 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/1.142, allocations: 233.6 kB / 1.241 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.247/4.389, allocations: 4 kB / 1.241 GB, free: 11.3 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)