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.622/1.622, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.0009894/0.0009894, allocations: 176.5 kB / 372 MB, free: 10.26 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.367/1.367, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0007302/0.0007302, allocations: 86.98 kB / 0.744 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 11.97 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1946, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.7502/0.9449, allocations: 176.3 MB / 1.152 GB, free: 9.699 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008253/0.9532, allocations: 4.768 MB / 1.156 GB, free: 6.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.9547, allocations: 45.16 kB / 1.157 GB, free: 5.996 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.9566, allocations: 0.6216 MB / 1.157 GB, free: 5.551 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006089/0.9627, allocations: 1.861 MB / 1.159 GB, free: 4.141 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.9656, allocations: 0.922 MB / 1.16 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004176/0.9698, allocations: 2.983 MB / 1.163 GB, free: 1.734 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.9717, allocations: 0.7259 MB / 1.163 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/0.9744, allocations: 0.9922 MB / 1.164 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/0.9764, allocations: 0.9168 MB / 1.165 GB, free: 280 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.9768, allocations: 44.78 kB / 1.165 GB, free: 280 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.9802, allocations: 0.9403 MB / 1.166 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007782/0.981, allocations: 390.5 kB / 1.167 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007608/0.9818, allocations: 272.5 kB / 1.167 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002706/0.9845, allocations: 1.361 MB / 1.168 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.9846, allocations: 0 / 1.168 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9846, allocations: 0 / 1.168 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.091e-05/0.9847, allocations: 1.188 kB / 1.168 GB, free: 14.57 MB / 0.7136 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.005984/0.9907, allocations: 1.703 MB / 1.17 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.9907, allocations: 9.625 kB / 1.17 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003657/0.9911, allocations: 135.1 kB / 1.17 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/0.9955, allocations: 0.7093 MB / 1.171 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.9977, allocations: 0.8455 MB / 1.172 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.9979, allocations: 74.98 kB / 1.172 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/0.9982, allocations: 83.81 kB / 1.172 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/1.002, allocations: 1.48 MB / 1.173 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/1.002, allocations: 7.312 kB / 1.173 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/1.002, allocations: 36.05 kB / 1.173 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/1.002, allocations: 47.83 kB / 1.173 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004312/1.007, allocations: 1.539 MB / 1.175 GB, free: 10.44 MB / 0.7136 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.008848/1.016, allocations: 5.487 MB / 1.18 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003753/1.019, allocations: 1.322 MB / 1.181 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/1.021, allocations: 0.6638 MB / 1.182 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/1.022, allocations: 0.5983 MB / 1.183 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/1.024, allocations: 0.717 MB / 1.183 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 3.727e-06/1.024, allocations: 0 / 1.183 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.005935/1.03, allocations: 1.906 MB / 1.185 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/1.03, allocations: 60.09 kB / 1.185 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/1.032, allocations: 1.247 MB / 1.187 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/1.032, allocations: 43.58 kB / 1.187 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/1.033, allocations: 0.5812 MB / 1.187 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/1.033, allocations: 279.2 kB / 1.187 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/1.033, allocations: 18.75 kB / 1.187 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.033, allocations: 348.4 kB / 1.188 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/1.035, allocations: 0.5455 MB / 1.188 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/1.037, allocations: 0.8469 MB / 1.189 GB, free: 284 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/1.038, allocations: 0.6039 MB / 1.19 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/1.038, allocations: 2.906 kB / 1.19 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004094/1.042, allocations: 1.51 MB / 1.191 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/1.042, allocations: 8.938 kB / 1.191 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.042, allocations: 10.09 kB / 1.191 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/1.043, allocations: 10.78 kB / 1.191 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.044, allocations: 306.1 kB / 1.191 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-05/1.044, allocations: 13 kB / 1.191 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/1.046, allocations: 230 kB / 1.192 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/1.046, allocations: 55.3 kB / 1.192 GB, free: 15.04 MB / 0.7292 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.0006444/1.047, allocations: 340 kB / 1.192 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/1.047, allocations: 140.5 kB / 1.192 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/1.051, allocations: 1.424 MB / 1.194 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.051, allocations: 7.875 kB / 1.194 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.051, allocations: 0 / 1.194 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/1.051, allocations: 6.984 kB / 1.194 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00646/1.058, allocations: 2.846 MB / 1.196 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/1.058, allocations: 4 kB / 1.196 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/1.059, allocations: 224.2 kB / 1.197 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.69e-05/1.059, allocations: 12 kB / 1.197 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.594e-05/1.059, allocations: 31.97 kB / 1.197 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/1.059, allocations: 8 kB / 1.197 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.059, allocations: 8.641 kB / 1.197 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005759/1.065, allocations: 2.275 MB / 1.199 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/1.066, allocations: 307.2 kB / 1.199 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/1.066, allocations: 20 kB / 1.199 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.068, allocations: 139.7 kB / 1.199 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/1.068, allocations: 64.38 kB / 1.199 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/1.068, allocations: 43.72 kB / 1.199 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00129/1.069, allocations: 0.8448 MB / 1.2 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.4e-07/1.069, allocations: 8 kB / 1.2 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0013/1.071, allocations: 315.7 kB / 1.201 GB, free: 7.637 MB / 0.7292 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 (80): * Single equations (assignments): 74 * 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.007327/1.078, allocations: 3.263 MB / 1.204 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003971/1.082, allocations: 1.294 MB / 1.205 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/1.082, allocations: 7.938 kB / 1.205 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/1.084, allocations: 0.6483 MB / 1.206 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/1.087, allocations: 0.573 MB / 1.206 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/1.105, allocations: 8.7 MB / 1.215 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/1.106, allocations: 1.179 MB / 1.216 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001737/1.108, allocations: 338 kB / 1.216 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008632/1.109, allocations: 0.4953 MB / 1.217 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of SimCode: time 1.734e-06/1.109, allocations: 0 / 1.217 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05858/1.167, allocations: 32.73 MB / 1.249 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/1.168, allocations: 254.2 kB / 1.249 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/4.055, allocations: 8 kB / 1.249 GB, free: 5.984 MB / 0.7761 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)