Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y",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.803/1.803, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001218/0.001218, allocations: 174.8 kB / 371.8 MB, free: 10.28 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.864/1.864, allocations: 205.4 MB / 0.6305 GB, free: 10 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.000921/0.0009209, allocations: 84.48 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003822, allocations: 11.69 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2118, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.6814/0.8932, allocations: 170.3 MB / 1.146 GB, free: 13.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02382/0.9171, allocations: 14.63 MB / 1.16 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.9202, allocations: 49.28 kB / 1.16 GB, free: 1.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.9235, allocations: 0.7631 MB / 1.161 GB, free: 1.039 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008511/0.932, allocations: 2.098 MB / 1.163 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008747/0.9408, allocations: 2.329 MB / 1.165 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005164/0.9459, allocations: 2.138 MB / 1.167 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.948, allocations: 1.047 MB / 1.168 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/0.9523, allocations: 1.46 MB / 1.17 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.9539, allocations: 0.7445 MB / 1.17 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002025/0.9542, allocations: 59.12 kB / 1.171 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003734/0.9579, allocations: 1.258 MB / 1.172 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006504/0.9586, allocations: 456.9 kB / 1.172 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007586/0.9593, allocations: 354.3 kB / 1.173 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.9632, allocations: 2.23 MB / 1.175 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.9632, allocations: 0 / 1.175 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.986e-06/0.9632, allocations: 1.656 kB / 1.175 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.57e-05/0.9633, allocations: 0 / 1.175 GB, free: 7.781 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.004055/0.9673, allocations: 1.903 MB / 1.177 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.9674, allocations: 11.34 kB / 1.177 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002714/0.9677, allocations: 154.1 kB / 1.177 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.9706, allocations: 456.5 kB / 1.177 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/0.9739, allocations: 1.301 MB / 1.178 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.671e-05/0.974, allocations: 85.69 kB / 1.179 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.9742, allocations: 108.9 kB / 1.179 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/0.9765, allocations: 1.159 MB / 1.18 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.9766, allocations: 3.938 kB / 1.18 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.9767, allocations: 42.3 kB / 1.18 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.9767, allocations: 32.66 kB / 1.18 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.9785, allocations: 0.881 MB / 1.181 GB, free: 3.762 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.007495/0.986, allocations: 4.871 MB / 1.185 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.988, allocations: 0.7751 MB / 1.186 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.547e-05/0.9881, allocations: 22.78 kB / 1.186 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009465/0.989, allocations: 460.8 kB / 1.187 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007063/0.9897, allocations: 73.67 kB / 1.187 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.085e-06/0.9897, allocations: 0 / 1.187 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.003148/0.9929, allocations: 1.215 MB / 1.188 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/0.993, allocations: 136.5 kB / 1.188 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.9945, allocations: 1.17 MB / 1.189 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.577e-05/0.9946, allocations: 46.11 kB / 1.189 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006078/0.9952, allocations: 0.665 MB / 1.19 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.9955, allocations: 251.3 kB / 1.19 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.9955, allocations: 18.42 kB / 1.19 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9957, allocations: 338.5 kB / 1.19 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.9964, allocations: 336.9 kB / 1.191 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009101/0.9973, allocations: 0.5911 MB / 1.191 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008051/0.9981, allocations: 441.9 kB / 1.192 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.9981, allocations: 0 / 1.192 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002338/1, allocations: 1.147 MB / 1.193 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001073/1.002, allocations: 2.172 MB / 1.195 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/1.002, allocations: 8.406 kB / 1.195 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000436/1.002, allocations: 87.41 kB / 1.195 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008832/1.003, allocations: 202 kB / 1.195 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/1.004, allocations: 1.21 MB / 1.196 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.005, allocations: 89.36 kB / 1.197 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.005, allocations: 48.48 kB / 1.197 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/1.005, allocations: 6.844 kB / 1.197 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002008/1.007, allocations: 1.053 MB / 1.198 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.007, allocations: 9.031 kB / 1.198 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005121/1.008, allocations: 148.9 kB / 1.198 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/1.009, allocations: 187.8 kB / 1.198 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004225/1.013, allocations: 2.875 MB / 1.201 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/1.014, allocations: 88.28 kB / 1.201 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/1.014, allocations: 41.69 kB / 1.201 GB, free: 3.973 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008151/1.015, allocations: 476.6 kB / 1.201 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/1.015, allocations: 132.1 kB / 1.201 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/1.017, allocations: 0.9351 MB / 1.202 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/1.017, allocations: 11.98 kB / 1.202 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/1.017, allocations: 0 / 1.202 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001532/1.019, allocations: 0.8248 MB / 1.203 GB, free: 1.992 MB / 0.7292 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 postOpt removeSimpleEquations (simulation): time 0.003942/1.023, allocations: 2.222 MB / 1.205 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.023, allocations: 0 / 1.205 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/1.023, allocations: 159.8 kB / 1.206 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002792/1.024, allocations: 76.81 kB / 1.206 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.697e-05/1.024, allocations: 24.06 kB / 1.206 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008287/1.025, allocations: 1.197 MB / 1.207 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.025, allocations: 4.031 kB / 1.207 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/1.028, allocations: 1.435 MB / 1.208 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006688/1.028, allocations: 275.4 kB / 1.208 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/1.028, allocations: 16.19 kB / 1.208 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008104/1.029, allocations: 99.8 kB / 1.209 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/1.029, allocations: 48.5 kB / 1.209 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/1.029, allocations: 23.98 kB / 1.209 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001201/1.031, allocations: 0.7919 MB / 1.209 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.51e-07/1.031, allocations: 0 / 1.209 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002432/1.033, allocations: 0.834 MB / 1.21 GB, free: 10.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004026/1.037, allocations: 2.574 MB / 1.213 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003448/1.041, allocations: 1.621 MB / 1.214 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.041, allocations: 3.938 kB / 1.214 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008776/1.042, allocations: 407.8 kB / 1.215 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/1.044, allocations: 0.6384 MB / 1.215 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008714/1.053, allocations: 7.477 MB / 1.223 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/1.054, allocations: 1.324 MB / 1.224 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001787/1.056, allocations: 335.3 kB / 1.224 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008897/1.057, allocations: 0.5735 MB / 1.225 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of SimCode: time 1.483e-06/1.057, allocations: 0 / 1.225 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07432/1.131, allocations: 40.46 MB / 1.264 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/1.132, allocations: 250.6 kB / 1.265 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.388/4.519, allocations: 8 kB / 1.265 GB, free: 2.941 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)