Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001146/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 191.6 kB / 16.13 MB, free: 6.66 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 70.77 kB / 0.9113 GB, free: 33.76 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2911, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1035/0.3947, allocations: 105.7 MB / 1.171 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.05233/0.4471, allocations: 35.58 MB / 1.205 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006145/0.4532, allocations: 147.1 kB / 1.206 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.03554/0.4889, allocations: 18.63 MB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01619/0.5051, allocations: 5.011 MB / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01273/0.5178, allocations: 3.694 MB / 1.232 GB, free: 1.719 MB / 0.9825 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0002, 0.0004, 0.0005999999999999999, 0.0008, 0.0009000000000000001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.6967/1.215, allocations: 36.08 MB / 1.268 GB, free: 39.29 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006423/1.221, allocations: 3.085 MB / 1.271 GB, free: 39.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009954/1.231, allocations: 3.595 MB / 1.274 GB, free: 39.04 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007844/1.239, allocations: 3.413 MB / 1.277 GB, free: 38.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001917/1.241, allocations: 236.6 kB / 1.278 GB, free: 38.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008388/1.249, allocations: 2.774 MB / 1.28 GB, free: 38.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003114/1.252, allocations: 1.734 MB / 1.282 GB, free: 38.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008027/1.26, allocations: 2.812 MB / 1.285 GB, free: 37.33 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01706/1.278, allocations: 9.093 MB / 1.294 GB, free: 36.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/1.278, allocations: 0 / 1.294 GB, free: 36.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/1.278, allocations: 2.531 kB / 1.294 GB, free: 36.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003485/1.278, allocations: 0 / 1.294 GB, free: 36.27 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.01876/1.297, allocations: 6.409 MB / 1.3 GB, free: 33.13 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.297, allocations: 9.625 kB / 1.3 GB, free: 33.13 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/1.309, allocations: 1.917 MB / 1.302 GB, free: 32.72 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01868/1.328, allocations: 7.42 MB / 1.309 GB, free: 31.56 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003604/1.328, allocations: 201.2 kB / 1.309 GB, free: 31.55 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/1.329, allocations: 248.3 kB / 1.309 GB, free: 31.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007694/1.337, allocations: 3.42 MB / 1.313 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.763e-05/1.337, allocations: 10.34 kB / 1.313 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/1.337, allocations: 88.47 kB / 1.313 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/1.337, allocations: 52.59 kB / 1.313 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00669/1.344, allocations: 2.624 MB / 1.316 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.02374/1.368, allocations: 15 MB / 1.33 GB, free: 22.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005763/1.374, allocations: 2.525 MB / 1.333 GB, free: 22.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002461/1.376, allocations: 1.083 MB / 1.334 GB, free: 22.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/1.387, allocations: 5.485 MB / 1.339 GB, free: 19.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/1.387, allocations: 45.47 kB / 1.339 GB, free: 19.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002745/1.39, allocations: 258.4 kB / 1.339 GB, free: 19.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=119): time 8.997e-06/1.39, allocations: 0 / 1.339 GB, free: 19.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119): time 0.01334/1.403, allocations: 4.335 MB / 1.344 GB, free: 17.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/1.403, allocations: 69.28 kB / 1.344 GB, free: 17.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009473/1.413, allocations: 5.611 MB / 1.349 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008714/1.413, allocations: 63.7 kB / 1.349 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/1.415, allocations: 2.28 MB / 1.351 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007164/1.416, allocations: 435.5 kB / 1.352 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/1.417, allocations: 0.9134 MB / 1.353 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.57e-05/1.418, allocations: 301.1 kB / 1.353 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004338/1.422, allocations: 2.94 MB / 1.356 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005077/1.427, allocations: 3.821 MB / 1.36 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008769/1.436, allocations: 6.247 MB / 1.366 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/1.436, allocations: 4 kB / 1.366 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01622/1.452, allocations: 7.893 MB / 1.373 GB, free: 9.797 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/1.452, allocations: 12 kB / 1.373 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.876e-05/1.452, allocations: 16 kB / 1.373 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00248/1.455, allocations: 0.9801 MB / 1.374 GB, free: 8.785 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/1.458, allocations: 0.6916 MB / 1.375 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/1.461, allocations: 2.953 MB / 1.378 GB, free: 5.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006772/1.468, allocations: 332.8 kB / 1.378 GB, free: 4.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/1.469, allocations: 223.9 kB / 1.378 GB, free: 4.551 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009586/1.479, allocations: 3.553 MB / 1.382 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006042/1.485, allocations: 3.347 MB / 1.385 GB, free: 13.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009736/1.495, allocations: 5.297 MB / 1.39 GB, free: 7.832 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.192e-05/1.495, allocations: 4 kB / 1.39 GB, free: 7.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=507) (initialization_lambda0): time 0.01635/1.511, allocations: 6.994 MB / 1.397 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/1.511, allocations: 19.98 kB / 1.397 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.432e-05/1.511, allocations: 16.91 kB / 1.397 GB, free: 0.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003503/1.515, allocations: 1.081 MB / 1.398 GB, free: 15.78 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/1.518, allocations: 0.6562 MB / 1.399 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02207/1.54, allocations: 14.9 MB / 1.414 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0072/1.548, allocations: 353 kB / 1.414 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/1.549, allocations: 191.9 kB / 1.414 GB, free: 15.18 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 (343): * Single equations (assignments): 331 * 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.001873/1.551, allocations: 340.3 kB / 1.414 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002312/1.553, allocations: 493.3 kB / 1.415 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.564, allocations: 3.623 MB / 1.418 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/1.564, allocations: 19.98 kB / 1.418 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.565, allocations: 4 kB / 1.418 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/1.565, allocations: 3.984 kB / 1.418 GB, free: 10.75 MB / 1.061 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.01978/1.584, allocations: 6.609 MB / 1.425 GB, free: 4.113 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/1.584, allocations: 4 kB / 1.425 GB, free: 4.109 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/1.586, allocations: 319.7 kB / 1.425 GB, free: 3.809 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/1.587, allocations: 453.9 kB / 1.426 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/1.588, allocations: 55.94 kB / 1.426 GB, free: 3.301 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/1.59, allocations: 2.804 MB / 1.428 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.59, allocations: 0 / 1.428 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008738/1.599, allocations: 3.317 MB / 1.432 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003398/1.602, allocations: 0.8018 MB / 1.432 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002412/1.605, allocations: 20 kB / 1.432 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005442/1.61, allocations: 267.4 kB / 1.433 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/1.61, allocations: 101.1 kB / 1.433 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003755/1.611, allocations: 95.92 kB / 1.433 GB, free: 11.75 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0102/1.621, allocations: 3.704 MB / 1.436 GB, free: 8.055 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.11e-07/1.621, allocations: 0 / 1.436 GB, free: 8.055 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.01356/1.635, allocations: 2.421 MB / 1.439 GB, free: 5.633 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 (125): * Single equations (assignments): 111 * 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.003285/1.638, allocations: 0.8936 MB / 1.44 GB, free: 4.805 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02116/1.659, allocations: 8.498 MB / 1.448 GB, free: 12.4 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.659, allocations: 2 kB / 1.448 GB, free: 12.4 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003649/1.663, allocations: 1.235 MB / 1.449 GB, free: 11.19 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01526/1.678, allocations: 2.408 MB / 1.452 GB, free: 8.816 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02273/1.701, allocations: 10.35 MB / 1.462 GB, free: 14.43 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005105/1.706, allocations: 2.953 MB / 1.465 GB, free: 11.44 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.008812/1.715, allocations: 1.397 MB / 1.466 GB, free: 10.05 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/1.717, allocations: 390.3 kB / 1.466 GB, free: 9.668 MB / 1.107 GB Notification: Performance of SimCode: time 1.543e-06/1.717, allocations: 0 / 1.466 GB, free: 9.668 MB / 1.107 GB Notification: Performance of Templates: time 0.1994/1.916, allocations: 110.6 MB / 1.574 GB, free: 12.7 MB / 1.217 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)