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: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 288.4 MB / 303.4 MB, free: 8.164 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.001499/0.001499, allocations: 178.9 kB / 372 MB, free: 10.27 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.933/1.933, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0007959/0.000796, allocations: 97 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004312, allocations: 11.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2593, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.7691/1.028, allocations: 187.3 MB / 1.163 GB, free: 1.16 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02446/1.053, allocations: 15.16 MB / 1.177 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/1.056, allocations: 55.22 kB / 1.177 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/1.058, allocations: 0.6225 MB / 1.178 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006826/1.065, allocations: 1.819 MB / 1.18 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008406/1.073, allocations: 2.175 MB / 1.182 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007927/1.081, allocations: 4.093 MB / 1.186 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/1.084, allocations: 1.031 MB / 1.187 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004613/1.088, allocations: 1.57 MB / 1.188 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/1.09, allocations: 1.066 MB / 1.189 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/1.091, allocations: 65.12 kB / 1.19 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004604/1.095, allocations: 1.557 MB / 1.191 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000672/1.096, allocations: 498.9 kB / 1.192 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0007077/1.097, allocations: 353.5 kB / 1.192 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003901/1.101, allocations: 2.377 MB / 1.194 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.101, allocations: 4 kB / 1.194 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.863e-06/1.101, allocations: 0 / 1.194 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.101e-05/1.101, allocations: 0 / 1.194 GB, free: 10.39 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.003809/1.104, allocations: 1.945 MB / 1.196 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.104, allocations: 7.906 kB / 1.196 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/1.107, allocations: 459.2 kB / 1.197 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/1.11, allocations: 1.268 MB / 1.198 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.497e-05/1.11, allocations: 88.33 kB / 1.198 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/1.11, allocations: 111 kB / 1.198 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/1.112, allocations: 1.173 MB / 1.199 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/1.112, allocations: 6.812 kB / 1.199 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/1.112, allocations: 39.81 kB / 1.199 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/1.112, allocations: 39.52 kB / 1.199 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/1.114, allocations: 0.8845 MB / 1.2 GB, free: 6.484 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.006229/1.12, allocations: 4.89 MB / 1.205 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/1.122, allocations: 0.7932 MB / 1.206 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007971/1.123, allocations: 424.6 kB / 1.206 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/1.123, allocations: 116.5 kB / 1.206 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000908/1.124, allocations: 468.2 kB / 1.207 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007058/1.124, allocations: 90.56 kB / 1.207 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 5.029e-06/1.125, allocations: 0 / 1.207 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.003419/1.128, allocations: 1.236 MB / 1.208 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/1.128, allocations: 137.1 kB / 1.208 GB, free: 340 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/1.13, allocations: 1.177 MB / 1.209 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/1.13, allocations: 45.7 kB / 1.209 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008083/1.131, allocations: 0.6692 MB / 1.21 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/1.132, allocations: 244.5 kB / 1.21 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/1.132, allocations: 20 kB / 1.21 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.132, allocations: 341.9 kB / 1.21 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008361/1.133, allocations: 337.8 kB / 1.211 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009885/1.134, allocations: 0.602 MB / 1.211 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009423/1.135, allocations: 452.1 kB / 1.212 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.135, allocations: 4 kB / 1.212 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002548/1.137, allocations: 1.164 MB / 1.213 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002248/1.137, allocations: 279.7 kB / 1.213 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/1.137, allocations: 8 kB / 1.213 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004637/1.138, allocations: 80.8 kB / 1.213 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/1.139, allocations: 211.7 kB / 1.213 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/1.14, allocations: 1.216 MB / 1.215 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/1.141, allocations: 83.92 kB / 1.215 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.141, allocations: 51.92 kB / 1.215 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.141, allocations: 4 kB / 1.215 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002175/1.144, allocations: 1.07 MB / 1.216 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/1.144, allocations: 8 kB / 1.216 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005889/1.144, allocations: 153.1 kB / 1.216 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/1.145, allocations: 179.7 kB / 1.216 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004585/1.15, allocations: 2.81 MB / 1.219 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/1.151, allocations: 95.78 kB / 1.219 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/1.151, allocations: 39.98 kB / 1.219 GB, free: 4.508 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.0009529/1.152, allocations: 464.8 kB / 1.219 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/1.152, allocations: 134.3 kB / 1.22 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/1.154, allocations: 0.941 MB / 1.22 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/1.155, allocations: 8 kB / 1.22 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/1.155, allocations: 3.938 kB / 1.221 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001665/1.156, allocations: 0.8443 MB / 1.221 GB, free: 2.066 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.004879/1.161, allocations: 2.253 MB / 1.224 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.161, allocations: 4 kB / 1.224 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008164/1.162, allocations: 159.8 kB / 1.224 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000272/1.162, allocations: 72.81 kB / 1.224 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.135e-05/1.162, allocations: 32.06 kB / 1.224 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007212/1.163, allocations: 1.189 MB / 1.225 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.163, allocations: 0 / 1.225 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/1.166, allocations: 1.422 MB / 1.226 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006609/1.167, allocations: 279.3 kB / 1.227 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/1.167, allocations: 16 kB / 1.227 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.168, allocations: 91.77 kB / 1.227 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/1.168, allocations: 52.48 kB / 1.227 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/1.168, allocations: 24.17 kB / 1.227 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001402/1.17, allocations: 0.7998 MB / 1.228 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.51e-07/1.17, allocations: 0 / 1.228 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003071/1.173, allocations: 0.8225 MB / 1.228 GB, free: 10.66 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.001574/1.174, allocations: 456.4 kB / 1.229 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003795/1.178, allocations: 1.652 MB / 1.23 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.178, allocations: 0 / 1.23 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009399/1.179, allocations: 415.8 kB / 1.231 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/1.183, allocations: 0.6493 MB / 1.231 GB, free: 7.473 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/1.188, allocations: 3.144 MB / 1.235 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.189, allocations: 1.292 MB / 1.236 GB, free: 2.965 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001711/1.191, allocations: 331.3 kB / 1.236 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/1.192, allocations: 107.4 kB / 1.236 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of SimCode: time 1.132e-06/1.192, allocations: 0 / 1.236 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of Templates: time 0.05182/1.243, allocations: 28.22 MB / 1.264 GB, free: 6.605 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)