Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 192.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 240.2 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 60.42 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3187, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.06432/0.3831, allocations: 58.56 MB / 1.125 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03365/0.4167, allocations: 19.96 MB / 1.145 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004932/0.4217, allocations: 87.5 kB / 1.145 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01692/0.4387, allocations: 9.817 MB / 1.155 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009283/0.448, allocations: 2.856 MB / 1.157 GB, free: 14.88 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006992/0.455, allocations: 2.311 MB / 1.16 GB, free: 12.58 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02156/0.4766, allocations: 14.17 MB / 1.173 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0035/0.4801, allocations: 1.76 MB / 1.175 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007841/0.488, allocations: 2.026 MB / 1.177 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004464/0.4925, allocations: 1.505 MB / 1.179 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001642/0.4942, allocations: 203.9 kB / 1.179 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006287/0.5005, allocations: 2.312 MB / 1.181 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.5021, allocations: 0.8801 MB / 1.182 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003246/0.5054, allocations: 1.395 MB / 1.183 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.009473/0.5149, allocations: 4.557 MB / 1.188 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.5149, allocations: 8 kB / 1.188 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5149, allocations: 0 / 1.188 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001541/0.5151, allocations: 0 / 1.188 GB, free: 15.68 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.00792/0.523, allocations: 3.215 MB / 1.191 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5231, allocations: 15.98 kB / 1.191 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005678/0.5288, allocations: 0.9409 MB / 1.192 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008857/0.5376, allocations: 3.388 MB / 1.195 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.5379, allocations: 102.1 kB / 1.195 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004441/0.5383, allocations: 116 kB / 1.195 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/0.5423, allocations: 1.526 MB / 1.197 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.5424, allocations: 0 / 1.197 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.5425, allocations: 40 kB / 1.197 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.5426, allocations: 31.98 kB / 1.197 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003579/0.5462, allocations: 1.343 MB / 1.198 GB, free: 4.738 MB / 0.9512 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.01189/0.5581, allocations: 7.2 MB / 1.205 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003281/0.5614, allocations: 1.08 MB / 1.206 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.5627, allocations: 0.5101 MB / 1.207 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004683/0.5674, allocations: 3.004 MB / 1.21 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.5674, allocations: 43.06 kB / 1.21 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=58): time 2.895e-06/0.5674, allocations: 0 / 1.21 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=58): time 0.005175/0.5726, allocations: 1.724 MB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.5727, allocations: 55.97 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00472/0.5774, allocations: 2.632 MB / 1.214 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.5776, allocations: 45.7 kB / 1.214 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.5787, allocations: 1.052 MB / 1.215 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.579, allocations: 217 kB / 1.215 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007745/0.5798, allocations: 439.1 kB / 1.216 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.58, allocations: 301.1 kB / 1.216 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/0.5821, allocations: 1.156 MB / 1.217 GB, free: 480 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002599/0.5847, allocations: 1.567 MB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004392/0.5891, allocations: 2.469 MB / 1.221 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.5892, allocations: 3.938 kB / 1.221 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00598/0.5952, allocations: 3.053 MB / 1.224 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.5952, allocations: 8 kB / 1.224 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.5952, allocations: 8.438 kB / 1.224 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005075/0.5957, allocations: 108.7 kB / 1.224 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.5972, allocations: 351.5 kB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005665/0.5977, allocations: 0.6147 MB / 1.225 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.5999, allocations: 235 kB / 1.225 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.6001, allocations: 99.95 kB / 1.225 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003002/0.6031, allocations: 1.503 MB / 1.227 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002441/0.6056, allocations: 1.379 MB / 1.228 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003947/0.6095, allocations: 2.094 MB / 1.23 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-05/0.6096, allocations: 4 kB / 1.23 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.006193/0.6158, allocations: 2.686 MB / 1.233 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.6158, allocations: 11.94 kB / 1.233 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.6159, allocations: 11.98 kB / 1.233 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/0.6164, allocations: 125.2 kB / 1.233 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.6178, allocations: 335.5 kB / 1.233 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.6226, allocations: 2.833 MB / 1.236 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/0.6252, allocations: 184.4 kB / 1.236 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000295/0.6255, allocations: 87.95 kB / 1.236 GB, free: 11.93 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 159 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.0006593/0.6262, allocations: 255.9 kB / 1.237 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008707/0.6271, allocations: 232.9 kB / 1.237 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005826/0.6329, allocations: 1.594 MB / 1.238 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/0.633, allocations: 8 kB / 1.238 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.633, allocations: 0 / 1.238 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.633, allocations: 7.984 kB / 1.238 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008904/0.6419, allocations: 3.133 MB / 1.242 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.642, allocations: 4.031 kB / 1.242 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009365/0.6429, allocations: 167.7 kB / 1.242 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002815/0.6432, allocations: 84.7 kB / 1.242 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/0.6433, allocations: 31.91 kB / 1.242 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004866/0.6438, allocations: 0.5992 MB / 1.242 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6438, allocations: 0 / 1.242 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/0.648, allocations: 1.551 MB / 1.244 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.6492, allocations: 441.5 kB / 1.244 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006151/0.6499, allocations: 15.94 kB / 1.244 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.6514, allocations: 87.75 kB / 1.244 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.6515, allocations: 52.5 kB / 1.244 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002391/0.6518, allocations: 51.95 kB / 1.245 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003837/0.6556, allocations: 1.753 MB / 1.246 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6557, allocations: 0 / 1.246 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004998/0.6607, allocations: 1.244 MB / 1.247 GB, free: 440 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.4778/1.138, allocations: 0.7636 MB / 1.248 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007503/1.146, allocations: 3.52 MB / 1.252 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.146, allocations: 0.8125 kB / 1.252 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/1.148, allocations: 0.5848 MB / 1.252 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004979/1.153, allocations: 1.246 MB / 1.253 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/1.159, allocations: 4.162 MB / 1.257 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.16, allocations: 1.743 MB / 1.259 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003191/1.163, allocations: 0.7065 MB / 1.26 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/1.163, allocations: 201 kB / 1.26 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.163, allocations: 0 / 1.26 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.08137/1.245, allocations: 53.46 MB / 1.312 GB, free: 144.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)