Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002433/0.002433, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002842/0.002842, allocations: 224.3 kB / 23.02 MB, free: 2.961 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.952/1.952, allocations: 230.6 MB / 256.8 MB, free: 9.648 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.539/3.539, allocations: 0.5045 GB / 0.8104 GB, free: 2.812 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Movers.Examples.ClosedLoop_y") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.004104/0.004104, allocations: 71.89 kB / 1.177 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.057, allocations: 180 MB / 1.353 GB, free: 1.617 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.2904/1.347, allocations: 182.6 MB / 1.531 GB, free: 10.38 MB / 1.214 GB Notification: Performance of NFInst.instExpressions: time 0.02511/1.372, allocations: 14.24 MB / 1.545 GB, free: 12.11 MB / 1.229 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/1.375, allocations: 79.38 kB / 1.545 GB, free: 12.03 MB / 1.229 GB Notification: Performance of NFTyping.typeComponents: time 0.006133/1.381, allocations: 1.736 MB / 1.547 GB, free: 10.29 MB / 1.229 GB Notification: Performance of NFTyping.typeBindings: time 0.008611/1.39, allocations: 2.758 MB / 1.55 GB, free: 7.516 MB / 1.229 GB Notification: Performance of NFTyping.typeClassSections: time 0.004769/1.395, allocations: 1.629 MB / 1.551 GB, free: 5.895 MB / 1.229 GB Notification: Performance of NFFlatten.flatten: time 0.01716/1.412, allocations: 9.411 MB / 1.56 GB, free: 12.47 MB / 1.245 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002718/1.415, allocations: 1.084 MB / 1.561 GB, free: 11.35 MB / 1.245 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006272/1.421, allocations: 2.297 MB / 1.564 GB, free: 9.043 MB / 1.245 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003505/1.424, allocations: 1.212 MB / 1.565 GB, free: 7.828 MB / 1.245 GB Notification: Performance of NFPackage.collectConstants: time 0.0004555/1.425, allocations: 160 kB / 1.565 GB, free: 7.672 MB / 1.245 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006294/1.431, allocations: 2.296 MB / 1.567 GB, free: 5.371 MB / 1.245 GB Notification: Performance of NFScalarize.scalarize: time 0.001121/1.432, allocations: 0.7204 MB / 1.568 GB, free: 4.648 MB / 1.245 GB Notification: Performance of NFVerifyModel.verify: time 0.001587/1.434, allocations: 0.8281 MB / 1.569 GB, free: 3.816 MB / 1.245 GB Notification: Performance of NFConvertDAE.convert: time 0.007609/1.441, allocations: 3.741 MB / 1.572 GB, free: 64 kB / 1.245 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.441, allocations: 0 / 1.572 GB, free: 64 kB / 1.245 GB Notification: Performance of FrontEnd: time 2.385e-06/1.441, allocations: 0 / 1.572 GB, free: 64 kB / 1.245 GB Notification: Performance of Transformations before backend: time 5.439e-05/1.441, allocations: 3.938 kB / 1.572 GB, free: 60 kB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.005502/1.447, allocations: 2.519 MB / 1.575 GB, free: 13.48 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/1.447, allocations: 12.92 kB / 1.575 GB, free: 13.47 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003887/1.451, allocations: 0.623 MB / 1.575 GB, free: 12.84 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005063/1.456, allocations: 2.054 MB / 1.577 GB, free: 10.73 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.419e-05/1.456, allocations: 78 kB / 1.578 GB, free: 10.66 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/1.456, allocations: 104 kB / 1.578 GB, free: 10.56 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/1.459, allocations: 1.414 MB / 1.579 GB, free: 9.074 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/1.459, allocations: 0 / 1.579 GB, free: 9.074 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.459, allocations: 51.88 kB / 1.579 GB, free: 9.023 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.812e-05/1.459, allocations: 34 kB / 1.579 GB, free: 8.992 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/1.462, allocations: 0.9993 MB / 1.58 GB, free: 7.988 MB / 1.26 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.008034/1.47, allocations: 4.024 MB / 1.584 GB, free: 3.871 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/1.473, allocations: 0.9016 MB / 1.585 GB, free: 2.957 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/1.474, allocations: 462.5 kB / 1.585 GB, free: 2.504 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/1.474, allocations: 32.64 kB / 1.585 GB, free: 2.473 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/1.475, allocations: 0.6825 MB / 1.586 GB, free: 1.754 MB / 1.26 GB Notification: Performance of pre-optimization done (n=66): time 5.16e-06/1.475, allocations: 3.984 kB / 1.586 GB, free: 1.75 MB / 1.26 GB Notification: Performance of matching and sorting (n=66): time 0.00425/1.48, allocations: 1.403 MB / 1.587 GB, free: 344 kB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/1.48, allocations: 60.06 kB / 1.587 GB, free: 272 kB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/1.482, allocations: 1.636 MB / 1.589 GB, free: 14.62 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/1.482, allocations: 45.7 kB / 1.589 GB, free: 14.57 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008855/1.483, allocations: 0.7843 MB / 1.59 GB, free: 13.79 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/1.483, allocations: 249.9 kB / 1.59 GB, free: 13.54 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004925/1.484, allocations: 282.7 kB / 1.59 GB, free: 13.26 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0002202/1.484, allocations: 353.9 kB / 1.591 GB, free: 12.91 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/1.486, allocations: 0.8002 MB / 1.591 GB, free: 12.09 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/1.488, allocations: 1.279 MB / 1.593 GB, free: 10.66 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/1.491, allocations: 1.718 MB / 1.594 GB, free: 8.863 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.491, allocations: 4 kB / 1.594 GB, free: 8.859 MB / 1.276 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004361/1.495, allocations: 2.189 MB / 1.597 GB, free: 6.645 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/1.495, allocations: 40.44 kB / 1.597 GB, free: 6.602 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.495, allocations: 8 kB / 1.597 GB, free: 6.594 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005489/1.496, allocations: 156.7 kB / 1.597 GB, free: 6.438 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.497, allocations: 251.6 kB / 1.597 GB, free: 6.191 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/1.498, allocations: 1.24 MB / 1.598 GB, free: 4.902 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/1.5, allocations: 143.1 kB / 1.598 GB, free: 4.762 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/1.5, allocations: 68.14 kB / 1.598 GB, free: 4.695 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002223/1.502, allocations: 1.094 MB / 1.599 GB, free: 3.594 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001899/1.504, allocations: 1.177 MB / 1.601 GB, free: 2.258 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002714/1.507, allocations: 1.503 MB / 1.602 GB, free: 0.6797 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.503e-06/1.507, allocations: 4 kB / 1.602 GB, free: 0.6758 MB / 1.276 GB Notification: Performance of matching and sorting (n=165) (initialization_lambda0): time 0.004144/1.511, allocations: 1.971 MB / 1.604 GB, free: 14.68 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/1.511, allocations: 41.69 kB / 1.604 GB, free: 14.63 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.511, allocations: 4 kB / 1.604 GB, free: 14.63 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000693/1.512, allocations: 172.7 kB / 1.604 GB, free: 14.46 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.513, allocations: 235.6 kB / 1.604 GB, free: 14.23 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006059/1.519, allocations: 3.211 MB / 1.608 GB, free: 10.84 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/1.521, allocations: 123.4 kB / 1.608 GB, free: 10.72 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/1.521, allocations: 60.03 kB / 1.608 GB, free: 10.66 MB / 1.292 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 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004959/1.521, allocations: 243.9 kB / 1.608 GB, free: 10.42 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005552/1.522, allocations: 170.9 kB / 1.608 GB, free: 10.25 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/1.525, allocations: 1.108 MB / 1.609 GB, free: 9.129 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.525, allocations: 8 kB / 1.609 GB, free: 9.121 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.525, allocations: 3.984 kB / 1.609 GB, free: 9.117 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002357/1.527, allocations: 0.9653 MB / 1.61 GB, free: 8.117 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006081/1.534, allocations: 2.203 MB / 1.612 GB, free: 5.859 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/1.534, allocations: 4 kB / 1.612 GB, free: 5.855 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009999/1.535, allocations: 163.8 kB / 1.612 GB, free: 5.695 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003092/1.535, allocations: 84.94 kB / 1.613 GB, free: 5.609 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.848e-05/1.535, allocations: 27.97 kB / 1.613 GB, free: 5.582 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/1.536, allocations: 1.216 MB / 1.614 GB, free: 4.316 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.536, allocations: 3.938 kB / 1.614 GB, free: 4.312 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004195/1.54, allocations: 1.66 MB / 1.615 GB, free: 2.621 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009349/1.541, allocations: 250.7 kB / 1.616 GB, free: 2.375 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/1.542, allocations: 19.94 kB / 1.616 GB, free: 2.355 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.543, allocations: 52.12 kB / 1.616 GB, free: 2.305 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.543, allocations: 56.56 kB / 1.616 GB, free: 2.25 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.938e-05/1.543, allocations: 31.98 kB / 1.616 GB, free: 2.219 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.0023/1.545, allocations: 1.098 MB / 1.617 GB, free: 1.129 MB / 1.292 GB Notification: Performance of sort global known variables: time 9e-08/1.545, allocations: 0 / 1.617 GB, free: 1.129 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.003585/1.549, allocations: 0.9667 MB / 1.618 GB, free: 164 kB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.vol.dynBal.m,fan.motSpe.y,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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001628/1.55, allocations: 0.5409 MB / 1.618 GB, free: 15.61 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.00576/1.556, allocations: 2.429 MB / 1.621 GB, free: 13.14 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.556, allocations: 0 / 1.621 GB, free: 13.14 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/1.558, allocations: 452.3 kB / 1.621 GB, free: 12.69 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/1.561, allocations: 0.8204 MB / 1.622 GB, free: 11.89 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/1.569, allocations: 3.345 MB / 1.625 GB, free: 8.508 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/1.571, allocations: 0.8504 MB / 1.626 GB, free: 7.625 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.001973/1.573, allocations: 449 kB / 1.626 GB, free: 7.18 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/1.573, allocations: 123.4 kB / 1.627 GB, free: 7.059 MB / 1.307 GB Notification: Performance of SimCode: time 1.132e-06/1.573, allocations: 0 / 1.627 GB, free: 7.059 MB / 1.307 GB Notification: Performance of Templates: time 0.08088/1.654, allocations: 40.7 MB / 1.666 GB, free: 15.07 MB / 1.354 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_13_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_13_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_13_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.746189787052572]