Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.835/2.835, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001699/0.001699, allocations: 185 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.219/2.219, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001168/0.001167, allocations: 85.84 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.000492, allocations: 16.89 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2271, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.9555/1.183, allocations: 170.3 MB / 1.145 GB, free: 13.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03836/1.221, allocations: 14.65 MB / 1.159 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/1.224, allocations: 44.81 kB / 1.159 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004248/1.228, allocations: 0.7624 MB / 1.16 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/1.239, allocations: 2.096 MB / 1.162 GB, free: 256 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01178/1.25, allocations: 2.321 MB / 1.164 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006573/1.257, allocations: 2.13 MB / 1.166 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003041/1.26, allocations: 1.067 MB / 1.167 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005762/1.266, allocations: 1.457 MB / 1.169 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002676/1.269, allocations: 0.7396 MB / 1.169 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006069/1.269, allocations: 59.38 kB / 1.169 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00552/1.275, allocations: 1.262 MB / 1.171 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00142/1.276, allocations: 450.6 kB / 1.171 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/1.278, allocations: 355.4 kB / 1.171 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005692/1.284, allocations: 2.235 MB / 1.174 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.284, allocations: 3.938 kB / 1.174 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.367e-06/1.284, allocations: 2.5 kB / 1.174 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.226e-05/1.284, allocations: 0 / 1.174 GB, free: 8.68 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.006419/1.29, allocations: 1.9 MB / 1.175 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.29, allocations: 8.531 kB / 1.175 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005333/1.291, allocations: 149.8 kB / 1.176 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004509/1.295, allocations: 452.6 kB / 1.176 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004809/1.3, allocations: 1.315 MB / 1.177 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/1.3, allocations: 75.91 kB / 1.177 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/1.301, allocations: 115.7 kB / 1.177 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003871/1.305, allocations: 1.161 MB / 1.179 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/1.305, allocations: 7.984 kB / 1.179 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/1.305, allocations: 42.25 kB / 1.179 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/1.305, allocations: 32.84 kB / 1.179 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00389/1.309, allocations: 0.8845 MB / 1.179 GB, free: 4.656 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.01405/1.323, allocations: 4.867 MB / 1.184 GB, free: 496 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/1.326, allocations: 0.776 MB / 1.185 GB, free: 72 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/1.327, allocations: 14.83 kB / 1.185 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/1.328, allocations: 458.1 kB / 1.185 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008859/1.329, allocations: 81.72 kB / 1.186 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 4.388e-06/1.329, allocations: 0 / 1.186 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.006305/1.336, allocations: 1.213 MB / 1.187 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/1.336, allocations: 148.2 kB / 1.187 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002941/1.339, allocations: 1.165 MB / 1.188 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002757/1.339, allocations: 44.92 kB / 1.188 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/1.34, allocations: 0.6677 MB / 1.189 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004982/1.341, allocations: 241.5 kB / 1.189 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.822e-05/1.341, allocations: 14.56 kB / 1.189 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.341, allocations: 340.6 kB / 1.189 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/1.342, allocations: 340.5 kB / 1.19 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/1.344, allocations: 0.5779 MB / 1.19 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/1.346, allocations: 443.1 kB / 1.191 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/1.346, allocations: 2.344 kB / 1.191 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004594/1.351, allocations: 1.161 MB / 1.192 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001171/1.352, allocations: 2.162 MB / 1.194 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-05/1.352, allocations: 7.906 kB / 1.194 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007633/1.353, allocations: 87.28 kB / 1.194 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/1.355, allocations: 206 kB / 1.194 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/1.356, allocations: 1.212 MB / 1.195 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/1.358, allocations: 86.5 kB / 1.195 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/1.359, allocations: 48.55 kB / 1.195 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.359, allocations: 3 kB / 1.195 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00418/1.363, allocations: 1.055 MB / 1.196 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.817e-05/1.363, allocations: 11.45 kB / 1.196 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/1.365, allocations: 149.8 kB / 1.197 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/1.366, allocations: 177.1 kB / 1.197 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007186/1.373, allocations: 2.887 MB / 1.2 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/1.375, allocations: 88.19 kB / 1.2 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/1.376, allocations: 45.17 kB / 1.2 GB, free: 4.863 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.001158/1.377, allocations: 464 kB / 1.2 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/1.377, allocations: 135.5 kB / 1.2 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/1.381, allocations: 0.9325 MB / 1.201 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/1.381, allocations: 11.88 kB / 1.201 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/1.381, allocations: 0 / 1.201 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002895/1.384, allocations: 0.8294 MB / 1.202 GB, free: 3.117 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.007414/1.391, allocations: 2.226 MB / 1.204 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.391, allocations: 0 / 1.204 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/1.393, allocations: 159.9 kB / 1.204 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/1.393, allocations: 84.69 kB / 1.204 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/1.394, allocations: 23.98 kB / 1.204 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/1.395, allocations: 1.193 MB / 1.206 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.395, allocations: 7.984 kB / 1.206 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004883/1.4, allocations: 1.431 MB / 1.207 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009437/1.401, allocations: 275.4 kB / 1.207 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/1.401, allocations: 23.94 kB / 1.207 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/1.402, allocations: 87.86 kB / 1.207 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/1.403, allocations: 56.42 kB / 1.207 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/1.403, allocations: 27.98 kB / 1.207 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001933/1.405, allocations: 0.7841 MB / 1.208 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.011e-06/1.405, allocations: 0 / 1.208 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004016/1.409, allocations: 0.8263 MB / 1.209 GB, free: 11.7 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.007609/1.417, allocations: 2.579 MB / 1.212 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006159/1.423, allocations: 1.629 MB / 1.213 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.423, allocations: 0 / 1.213 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/1.424, allocations: 399 kB / 1.214 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/1.43, allocations: 0.6444 MB / 1.214 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/1.442, allocations: 7.489 MB / 1.221 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.443, allocations: 1.312 MB / 1.223 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0025/1.446, allocations: 343.3 kB / 1.223 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/1.447, allocations: 0.5735 MB / 1.224 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of SimCode: time 1.383e-06/1.447, allocations: 0 / 1.224 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/1.565, allocations: 40.42 MB / 1.263 GB, free: 4.434 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003763/1.566, allocations: 243 kB / 1.263 GB, free: 4.141 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.394/5.959, allocations: 0 / 1.263 GB, free: 4.141 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)