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: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.006/3.006, allocations: 287.5 MB / 302.4 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.00143/0.00143, allocations: 184.9 kB / 371 MB, free: 10.86 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.462/2.462, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009309/0.0009308, allocations: 85.66 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006506/0.0006509, allocations: 15.55 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2295, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.9873/1.217, allocations: 187.3 MB / 1.161 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03578/1.253, allocations: 15.18 MB / 1.176 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/1.255, allocations: 46.59 kB / 1.176 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00342/1.259, allocations: 0.6251 MB / 1.177 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00832/1.267, allocations: 1.814 MB / 1.179 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01043/1.277, allocations: 2.168 MB / 1.181 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008341/1.286, allocations: 4.092 MB / 1.185 GB, free: 400 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/1.289, allocations: 1.037 MB / 1.186 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005588/1.294, allocations: 1.574 MB / 1.187 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/1.297, allocations: 1.063 MB / 1.188 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005529/1.298, allocations: 60.22 kB / 1.188 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006352/1.304, allocations: 1.564 MB / 1.19 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001317/1.306, allocations: 491.6 kB / 1.19 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000952/1.307, allocations: 358 kB / 1.191 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005931/1.313, allocations: 2.38 MB / 1.193 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/1.313, allocations: 2.969 kB / 1.193 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.777e-06/1.313, allocations: 3.938 kB / 1.193 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.627e-05/1.313, allocations: 0 / 1.193 GB, free: 11.32 MB / 0.7292 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.006289/1.319, allocations: 1.94 MB / 1.195 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.319, allocations: 12.03 kB / 1.195 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004521/1.324, allocations: 447 kB / 1.195 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004518/1.328, allocations: 1.277 MB / 1.197 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/1.329, allocations: 82.69 kB / 1.197 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003519/1.329, allocations: 110.8 kB / 1.197 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/1.333, allocations: 1.176 MB / 1.198 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/1.333, allocations: 0 / 1.198 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/1.333, allocations: 38.88 kB / 1.198 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.617e-05/1.333, allocations: 40.03 kB / 1.198 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/1.336, allocations: 0.8918 MB / 1.199 GB, free: 7.418 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 preOpt removeSimpleEquations (simulation): time 0.01152/1.348, allocations: 4.888 MB / 1.204 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/1.351, allocations: 0.8007 MB / 1.204 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/1.353, allocations: 423.8 kB / 1.205 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/1.353, allocations: 112.6 kB / 1.205 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001531/1.355, allocations: 468.3 kB / 1.205 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000899/1.356, allocations: 82.91 kB / 1.205 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 4.729e-06/1.356, allocations: 0 / 1.205 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.005229/1.361, allocations: 1.235 MB / 1.207 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/1.361, allocations: 141 kB / 1.207 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/1.364, allocations: 1.179 MB / 1.208 GB, free: 336 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002533/1.364, allocations: 41.7 kB / 1.208 GB, free: 288 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009532/1.365, allocations: 0.6653 MB / 1.209 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/1.365, allocations: 244.5 kB / 1.209 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.448e-05/1.365, allocations: 19.94 kB / 1.209 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.366, allocations: 337.9 kB / 1.209 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/1.367, allocations: 349.8 kB / 1.209 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/1.369, allocations: 0.5948 MB / 1.21 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/1.37, allocations: 448.2 kB / 1.21 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/1.37, allocations: 4 kB / 1.211 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004424/1.375, allocations: 1.176 MB / 1.212 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002784/1.375, allocations: 283.6 kB / 1.212 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/1.375, allocations: 8 kB / 1.212 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006362/1.376, allocations: 88.73 kB / 1.212 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/1.378, allocations: 195.8 kB / 1.212 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/1.379, allocations: 1.216 MB / 1.213 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/1.381, allocations: 88.02 kB / 1.213 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/1.382, allocations: 51.98 kB / 1.214 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.382, allocations: 4 kB / 1.214 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003838/1.386, allocations: 1.07 MB / 1.215 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.5e-05/1.386, allocations: 11.98 kB / 1.215 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009378/1.387, allocations: 149 kB / 1.215 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.388, allocations: 179.7 kB / 1.215 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007118/1.395, allocations: 2.821 MB / 1.218 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/1.397, allocations: 86.08 kB / 1.218 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.397, allocations: 43.98 kB / 1.218 GB, free: 5.691 MB / 0.7448 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.001198/1.399, allocations: 468.8 kB / 1.218 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/1.399, allocations: 134.3 kB / 1.218 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/1.403, allocations: 0.9371 MB / 1.219 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/1.403, allocations: 11.92 kB / 1.219 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.403, allocations: 4 kB / 1.219 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00298/1.406, allocations: 0.8326 MB / 1.22 GB, free: 3.254 MB / 0.7448 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.007072/1.413, allocations: 2.269 MB / 1.222 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.413, allocations: 0 / 1.222 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.414, allocations: 160 kB / 1.222 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004219/1.415, allocations: 80.75 kB / 1.223 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.415, allocations: 19.98 kB / 1.223 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/1.416, allocations: 1.197 MB / 1.224 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/1.416, allocations: 11.92 kB / 1.224 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004762/1.421, allocations: 1.407 MB / 1.225 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008991/1.422, allocations: 267.4 kB / 1.225 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/1.422, allocations: 23.98 kB / 1.225 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/1.424, allocations: 87.77 kB / 1.225 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/1.424, allocations: 52.48 kB / 1.226 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.97e-05/1.424, allocations: 27.98 kB / 1.226 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002091/1.426, allocations: 0.7959 MB / 1.226 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.91e-07/1.426, allocations: 0 / 1.226 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004375/1.431, allocations: 0.8264 MB / 1.227 GB, free: 11.84 MB / 0.7605 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.002041/1.433, allocations: 451.6 kB / 1.228 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006198/1.439, allocations: 1.645 MB / 1.229 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.439, allocations: 0 / 1.229 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/1.441, allocations: 411.7 kB / 1.23 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005205/1.446, allocations: 0.6623 MB / 1.23 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007284/1.453, allocations: 3.151 MB / 1.233 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.455, allocations: 1.285 MB / 1.235 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002371/1.457, allocations: 343.3 kB / 1.235 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/1.457, allocations: 99.41 kB / 1.235 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of SimCode: time 1.392e-06/1.458, allocations: 0 / 1.235 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of Templates: time 0.07873/1.536, allocations: 28.19 MB / 1.262 GB, free: 7.762 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)