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.531/1.531, allocations: 288.2 MB / 303.2 MB, free: 8.191 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.00103/0.00103, allocations: 187.4 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.604/1.604, allocations: 205.4 MB / 0.6305 GB, free: 9.93 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.0009319/0.0009318, allocations: 101.3 kB / 0.7439 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004557, allocations: 11.91 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2322, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.7648/0.997, allocations: 160.8 MB / 1.136 GB, free: 200 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008877/1.006, allocations: 4.914 MB / 1.141 GB, free: 15.54 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/1.008, allocations: 40.72 kB / 1.141 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002389/1.01, allocations: 0.7757 MB / 1.142 GB, free: 15.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006254/1.017, allocations: 1.76 MB / 1.144 GB, free: 14.17 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003971/1.021, allocations: 1.174 MB / 1.145 GB, free: 13.72 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003067/1.024, allocations: 1.624 MB / 1.147 GB, free: 12.74 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/1.025, allocations: 0.758 MB / 1.147 GB, free: 12.28 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/1.027, allocations: 0.9665 MB / 1.148 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/1.029, allocations: 0.6812 MB / 1.149 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/1.029, allocations: 45.25 kB / 1.149 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/1.031, allocations: 0.7382 MB / 1.15 GB, free: 11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005532/1.032, allocations: 374.1 kB / 1.15 GB, free: 10.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004536/1.033, allocations: 268.7 kB / 1.15 GB, free: 10.63 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001895/1.034, allocations: 1.221 MB / 1.151 GB, free: 9.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/1.034, allocations: 0 / 1.151 GB, free: 9.867 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/1.034, allocations: 1.125 kB / 1.151 GB, free: 9.867 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.04e-05/1.034, allocations: 4 kB / 1.151 GB, free: 9.863 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005126/1.04, allocations: 1.673 MB / 1.153 GB, free: 8.602 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.04, allocations: 8.75 kB / 1.153 GB, free: 8.602 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002317/1.04, allocations: 135.4 kB / 1.153 GB, free: 8.492 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004066/1.044, allocations: 0.709 MB / 1.154 GB, free: 8.188 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/1.046, allocations: 0.8415 MB / 1.155 GB, free: 7.531 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/1.046, allocations: 75.27 kB / 1.155 GB, free: 7.496 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/1.046, allocations: 88.16 kB / 1.155 GB, free: 7.469 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003315/1.049, allocations: 1.469 MB / 1.156 GB, free: 6.523 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/1.049, allocations: 9.938 kB / 1.156 GB, free: 6.516 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/1.05, allocations: 37.05 kB / 1.156 GB, free: 6.488 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.168e-05/1.05, allocations: 52.83 kB / 1.156 GB, free: 6.477 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004341/1.054, allocations: 1.535 MB / 1.158 GB, free: 5.746 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.007514/1.062, allocations: 5.15 MB / 1.163 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/1.066, allocations: 1.319 MB / 1.164 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004654/1.066, allocations: 163 kB / 1.164 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/1.068, allocations: 0.7143 MB / 1.165 GB, free: 188 kB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 4.488e-06/1.068, allocations: 0 / 1.165 GB, free: 188 kB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.005688/1.074, allocations: 1.909 MB / 1.167 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/1.074, allocations: 61.47 kB / 1.167 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/1.075, allocations: 1.239 MB / 1.168 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/1.075, allocations: 46.52 kB / 1.168 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/1.076, allocations: 0.5866 MB / 1.169 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/1.076, allocations: 274.9 kB / 1.169 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/1.076, allocations: 20.88 kB / 1.169 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.076, allocations: 345.7 kB / 1.169 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/1.078, allocations: 0.5435 MB / 1.17 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/1.08, allocations: 0.8392 MB / 1.171 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/1.081, allocations: 0.6087 MB / 1.171 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.081, allocations: 2.938 kB / 1.171 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003915/1.085, allocations: 1.512 MB / 1.173 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/1.085, allocations: 7.469 kB / 1.173 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.085, allocations: 8.438 kB / 1.173 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/1.085, allocations: 12.38 kB / 1.173 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.087, allocations: 304.9 kB / 1.173 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/1.087, allocations: 17.03 kB / 1.173 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.088, allocations: 229.1 kB / 1.173 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.089, allocations: 52.09 kB / 1.173 GB, free: 11.34 MB / 0.7136 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.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 (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.0006027/1.089, allocations: 338.3 kB / 1.174 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/1.089, allocations: 142.6 kB / 1.174 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/1.093, allocations: 1.426 MB / 1.175 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.093, allocations: 8.625 kB / 1.175 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.093, allocations: 0 / 1.175 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.093, allocations: 3.984 kB / 1.175 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005675/1.099, allocations: 2.826 MB / 1.178 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.099, allocations: 2.906 kB / 1.178 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.1, allocations: 233.9 kB / 1.178 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/1.1, allocations: 11.62 kB / 1.178 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/1.1, allocations: 26.84 kB / 1.178 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/1.1, allocations: 11.34 kB / 1.178 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.1, allocations: 4.969 kB / 1.178 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005363/1.106, allocations: 2.494 MB / 1.181 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007459/1.106, allocations: 305.1 kB / 1.181 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/1.107, allocations: 27.59 kB / 1.181 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.108, allocations: 136.5 kB / 1.181 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/1.108, allocations: 57.88 kB / 1.181 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/1.108, allocations: 42.22 kB / 1.181 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001007/1.109, allocations: 0.8485 MB / 1.182 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.109, allocations: 0 / 1.182 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001094/1.11, allocations: 324.3 kB / 1.183 GB, free: 5.992 MB / 0.7136 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 (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 (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.007422/1.117, allocations: 4.532 MB / 1.187 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00401/1.122, allocations: 1.304 MB / 1.188 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.122, allocations: 0 / 1.188 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/1.123, allocations: 0.6443 MB / 1.189 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.126, allocations: 0.5752 MB / 1.189 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/1.145, allocations: 13.42 MB / 1.202 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008013/1.146, allocations: 1.203 MB / 1.204 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001645/1.147, allocations: 350 kB / 1.204 GB, free: 1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000787/1.148, allocations: 0.4992 MB / 1.204 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.132e-06/1.148, allocations: 0 / 1.204 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05964/1.208, allocations: 32.69 MB / 1.236 GB, free: 140 kB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/1.208, allocations: 246.1 kB / 1.237 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/4.278, allocations: 0 / 1.237 GB, free: 15.86 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)