Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 108 kB / 15.61 MB, free: 152 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.001424/0.001424, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 58.83 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3791, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1091/0.4882, allocations: 106.5 MB / 1.172 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0566/0.5449, allocations: 35.46 MB / 1.207 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007263/0.5522, allocations: 163.1 kB / 1.207 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.03079/0.583, allocations: 18.57 MB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01465/0.5977, allocations: 5.38 MB / 1.23 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009795/0.6075, allocations: 4.068 MB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7075/1.315, allocations: 31.9 MB / 1.265 GB, free: 39.4 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008601/1.324, allocations: 3.57 MB / 1.269 GB, free: 39.11 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/1.336, allocations: 4.172 MB / 1.273 GB, free: 39.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008714/1.345, allocations: 3.313 MB / 1.276 GB, free: 38.55 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003166/1.348, allocations: 453.2 kB / 1.277 GB, free: 38.55 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/1.359, allocations: 2.979 MB / 1.28 GB, free: 38.54 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003939/1.363, allocations: 1.913 MB / 1.281 GB, free: 38.31 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009189/1.372, allocations: 3.055 MB / 1.284 GB, free: 37.4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02143/1.394, allocations: 9.214 MB / 1.293 GB, free: 36.3 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/1.394, allocations: 4 kB / 1.293 GB, free: 36.3 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.316e-06/1.394, allocations: 0 / 1.293 GB, free: 36.3 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003948/1.394, allocations: 0 / 1.293 GB, free: 36.3 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01918/1.413, allocations: 6.393 MB / 1.3 GB, free: 33.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.414, allocations: 10.88 kB / 1.3 GB, free: 33.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/1.426, allocations: 1.916 MB / 1.302 GB, free: 32.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0173/1.443, allocations: 7.276 MB / 1.309 GB, free: 31.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/1.443, allocations: 204 kB / 1.309 GB, free: 31.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/1.445, allocations: 248.7 kB / 1.309 GB, free: 31.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007589/1.452, allocations: 3.413 MB / 1.312 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/1.452, allocations: 4.625 kB / 1.312 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002875/1.453, allocations: 87.97 kB / 1.312 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-05/1.453, allocations: 57 kB / 1.313 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006432/1.459, allocations: 2.589 MB / 1.315 GB, free: 31.15 MB / 0.9981 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.02499/1.484, allocations: 15.32 MB / 1.33 GB, free: 23.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00646/1.491, allocations: 2.437 MB / 1.332 GB, free: 23.47 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/1.493, allocations: 1.049 MB / 1.333 GB, free: 23.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009439/1.503, allocations: 5.395 MB / 1.339 GB, free: 20.31 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.503, allocations: 46.69 kB / 1.339 GB, free: 20.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 3.947e-06/1.503, allocations: 0 / 1.339 GB, free: 20.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.0127/1.516, allocations: 4.248 MB / 1.343 GB, free: 18.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/1.516, allocations: 63.16 kB / 1.343 GB, free: 17.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009389/1.525, allocations: 5.675 MB / 1.349 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008843/1.526, allocations: 60.8 kB / 1.349 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.528, allocations: 2.287 MB / 1.351 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007312/1.529, allocations: 429 kB / 1.351 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/1.53, allocations: 0.9072 MB / 1.352 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.221e-05/1.53, allocations: 301.1 kB / 1.352 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004259/1.534, allocations: 2.912 MB / 1.355 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0048/1.539, allocations: 3.791 MB / 1.359 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008508/1.548, allocations: 6.185 MB / 1.365 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/1.548, allocations: 4 kB / 1.365 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01447/1.562, allocations: 7.834 MB / 1.373 GB, free: 9.477 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/1.562, allocations: 12 kB / 1.373 GB, free: 9.465 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.056e-05/1.562, allocations: 16 kB / 1.373 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/1.564, allocations: 0.9748 MB / 1.374 GB, free: 8.465 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/1.568, allocations: 0.6857 MB / 1.374 GB, free: 7.816 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/1.571, allocations: 2.952 MB / 1.377 GB, free: 4.773 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005499/1.576, allocations: 475.5 kB / 1.378 GB, free: 4.305 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007729/1.577, allocations: 227.9 kB / 1.378 GB, free: 4.082 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007051/1.584, allocations: 3.525 MB / 1.381 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005198/1.589, allocations: 3.32 MB / 1.385 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009013/1.598, allocations: 5.23 MB / 1.39 GB, free: 7.504 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.419e-05/1.598, allocations: 8 kB / 1.39 GB, free: 7.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01508/1.613, allocations: 6.947 MB / 1.396 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/1.613, allocations: 12 kB / 1.396 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/1.613, allocations: 16 kB / 1.396 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003257/1.617, allocations: 1.092 MB / 1.397 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/1.62, allocations: 0.6461 MB / 1.398 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02206/1.642, allocations: 16.55 MB / 1.414 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005211/1.647, allocations: 383.7 kB / 1.415 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005773/1.648, allocations: 192 kB / 1.415 GB, free: 13.2 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (339): * Single equations (assignments): 327 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007969/1.649, allocations: 339.8 kB / 1.415 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/1.65, allocations: 0.4895 MB / 1.416 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009397/1.659, allocations: 3.557 MB / 1.419 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/1.659, allocations: 16 kB / 1.419 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.659, allocations: 0 / 1.419 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/1.659, allocations: 7.969 kB / 1.419 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/1.675, allocations: 6.53 MB / 1.426 GB, free: 2.273 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.675, allocations: 7.938 kB / 1.426 GB, free: 2.266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/1.677, allocations: 312.8 kB / 1.426 GB, free: 1.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/1.678, allocations: 456.4 kB / 1.426 GB, free: 1.516 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/1.678, allocations: 55.94 kB / 1.426 GB, free: 1.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/1.681, allocations: 2.798 MB / 1.429 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.681, allocations: 0 / 1.429 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008707/1.689, allocations: 3.292 MB / 1.432 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00297/1.692, allocations: 0.8179 MB / 1.433 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/1.694, allocations: 28 kB / 1.433 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003297/1.697, allocations: 151.8 kB / 1.433 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/1.697, allocations: 104.5 kB / 1.433 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/1.698, allocations: 91.92 kB / 1.433 GB, free: 10.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.007782/1.705, allocations: 3.747 MB / 1.437 GB, free: 6.297 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.355e-06/1.706, allocations: 0 / 1.437 GB, free: 6.297 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0103/1.716, allocations: 2.4 MB / 1.439 GB, free: 3.895 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (121): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002923/1.719, allocations: 0.9357 MB / 1.44 GB, free: 3.031 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01863/1.737, allocations: 8.489 MB / 1.449 GB, free: 10.64 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.737, allocations: 4.062 kB / 1.449 GB, free: 10.64 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003425/1.741, allocations: 1.221 MB / 1.45 GB, free: 9.441 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01289/1.754, allocations: 2.546 MB / 1.452 GB, free: 6.973 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/1.773, allocations: 8.779 MB / 1.461 GB, free: 14.17 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003174/1.776, allocations: 2.953 MB / 1.464 GB, free: 11.18 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.007368/1.784, allocations: 1.392 MB / 1.465 GB, free: 9.793 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/1.785, allocations: 391.2 kB / 1.465 GB, free: 9.41 MB / 1.107 GB Notification: Performance of SimCode: time 1.102e-06/1.785, allocations: 6.906 kB / 1.465 GB, free: 9.406 MB / 1.107 GB Notification: Performance of Templates: time 0.1908/1.976, allocations: 114.3 MB / 1.577 GB, free: 8.906 MB / 1.217 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)