Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.658/1.658, allocations: 251.9 MB / 0.51 GB, free: 4.828 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005386/0.0005389, allocations: 12 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.5931, allocations: 106.3 MB / 0.728 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.191/0.7842, allocations: 170.5 MB / 0.8945 GB, free: 468 kB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02282/0.8071, allocations: 14.7 MB / 0.9088 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.8094, allocations: 43.69 kB / 0.9089 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.812, allocations: 0.7776 MB / 0.9096 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.4893/1.301, allocations: 2.096 MB / 0.9117 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007693/1.309, allocations: 2.369 MB / 0.914 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005576/1.315, allocations: 2.159 MB / 0.9161 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/1.317, allocations: 1.068 MB / 0.9171 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004171/1.321, allocations: 1.48 MB / 0.9186 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/1.323, allocations: 0.7488 MB / 0.9193 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000221/1.323, allocations: 60.38 kB / 0.9194 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/1.327, allocations: 1.259 MB / 0.9206 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006143/1.327, allocations: 463.1 kB / 0.9211 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008493/1.328, allocations: 357.4 kB / 0.9214 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003164/1.331, allocations: 2.25 MB / 0.9236 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/1.331, allocations: 0 / 0.9236 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/1.331, allocations: 0 / 0.9236 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.106e-05/1.331, allocations: 0 / 0.9236 GB, free: 20.8 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00393/1.335, allocations: 1.913 MB / 0.9255 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.335, allocations: 8.25 kB / 0.9255 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/1.338, allocations: 455.1 kB / 0.9259 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/1.341, allocations: 1.322 MB / 0.9272 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/1.341, allocations: 79.25 kB / 0.9273 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/1.342, allocations: 103.4 kB / 0.9274 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/1.344, allocations: 1.171 MB / 0.9285 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/1.344, allocations: 9.656 kB / 0.9285 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/1.344, allocations: 40.78 kB / 0.9286 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/1.344, allocations: 37.64 kB / 0.9286 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/1.345, allocations: 0.8794 MB / 0.9295 GB, free: 19.08 MB / 0.7325 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.007049/1.352, allocations: 4.875 MB / 0.9342 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/1.354, allocations: 0.7843 MB / 0.935 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.478e-05/1.354, allocations: 19.7 kB / 0.935 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007651/1.355, allocations: 452.4 kB / 0.9354 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006376/1.356, allocations: 87.81 kB / 0.9355 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 4.187e-06/1.356, allocations: 3.984 kB / 0.9355 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69): time 0.002616/1.358, allocations: 1.21 MB / 0.9367 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.358, allocations: 147 kB / 0.9368 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/1.36, allocations: 1.166 MB / 0.938 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/1.36, allocations: 45.36 kB / 0.938 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006484/1.361, allocations: 0.6726 MB / 0.9387 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/1.361, allocations: 239.5 kB / 0.9389 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/1.361, allocations: 17.19 kB / 0.9389 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.361, allocations: 342.4 kB / 0.9393 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/1.362, allocations: 335 kB / 0.9396 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008521/1.363, allocations: 0.5802 MB / 0.9401 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/1.364, allocations: 436.5 kB / 0.9406 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.364, allocations: 9.938 kB / 0.9406 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002017/1.366, allocations: 1.143 MB / 0.9417 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007598/1.366, allocations: 2.166 MB / 0.9438 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/1.366, allocations: 8.969 kB / 0.9438 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000425/1.367, allocations: 86.53 kB / 0.9439 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008736/1.368, allocations: 203.9 kB / 0.9441 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/1.369, allocations: 1.213 MB / 0.9453 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.37, allocations: 98.62 kB / 0.9454 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.054e-05/1.37, allocations: 46.38 kB / 0.9454 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/1.37, allocations: 1.75 kB / 0.9454 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001863/1.372, allocations: 1.054 MB / 0.9464 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.372, allocations: 4.875 kB / 0.9464 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004892/1.373, allocations: 156.1 kB / 0.9466 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/1.373, allocations: 179 kB / 0.9468 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003991/1.377, allocations: 2.872 MB / 0.9496 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/1.379, allocations: 95.33 kB / 0.9497 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/1.379, allocations: 43.59 kB / 0.9497 GB, free: 9.609 MB / 0.7325 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.0008507/1.379, allocations: 476.3 kB / 0.9501 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/1.38, allocations: 135.7 kB / 0.9503 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/1.381, allocations: 0.9218 MB / 0.9512 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.381, allocations: 13.67 kB / 0.9512 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.381, allocations: 3.094 kB / 0.9512 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/1.383, allocations: 0.8146 MB / 0.952 GB, free: 9.051 MB / 0.7325 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.003514/1.386, allocations: 2.233 MB / 0.9542 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.386, allocations: 1.656 kB / 0.9542 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/1.387, allocations: 156.5 kB / 0.9543 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/1.387, allocations: 81.48 kB / 0.9544 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/1.387, allocations: 22.75 kB / 0.9544 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006292/1.388, allocations: 1.199 MB / 0.9556 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.388, allocations: 9.766 kB / 0.9556 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/1.39, allocations: 1.424 MB / 0.957 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007747/1.391, allocations: 281.9 kB / 0.9573 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/1.391, allocations: 18.12 kB / 0.9573 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008061/1.392, allocations: 91.28 kB / 0.9574 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.392, allocations: 54.66 kB / 0.9574 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/1.392, allocations: 24.81 kB / 0.9574 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001244/1.394, allocations: 0.7898 MB / 0.9582 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/1.394, allocations: 0 / 0.9582 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002803/1.396, allocations: 0.8314 MB / 0.959 GB, free: 6.68 MB / 0.7325 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.001177/1.398, allocations: 456.3 kB / 0.9595 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003157/1.401, allocations: 1.625 MB / 0.961 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.401, allocations: 0 / 0.961 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007742/1.402, allocations: 393.8 kB / 0.9614 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/1.404, allocations: 0.6364 MB / 0.962 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/1.409, allocations: 3.151 MB / 0.9651 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008713/1.41, allocations: 1.32 MB / 0.9664 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001462/1.411, allocations: 341.7 kB / 0.9667 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/1.411, allocations: 107.4 kB / 0.9668 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/1.411, allocations: 0 / 0.9668 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of Templates: time 0.05195/1.463, allocations: 28.09 MB / 0.9943 GB, free: 4.871 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) Environment - environmentSimulation: