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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1929/0.1948, allocations: 80.83 MB / 0.5899 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.5196/0.7144, allocations: 103.5 MB / 0.6909 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.05139/0.7658, allocations: 34.79 MB / 0.7249 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01026/0.7761, allocations: 142.5 kB / 0.725 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007551/0.7838, allocations: 1.688 MB / 0.7267 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01695/0.8007, allocations: 4.329 MB / 0.7309 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01103/0.8118, allocations: 3.761 MB / 0.7346 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01762/0.8294, allocations: 9.938 MB / 0.7443 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006646/0.8361, allocations: 3.302 MB / 0.7475 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/0.849, allocations: 4.074 MB / 0.7515 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0113/0.8603, allocations: 3.856 MB / 0.7553 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.003184/0.8636, allocations: 0.5429 MB / 0.7558 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009813/0.8734, allocations: 2.492 MB / 0.7582 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003478/0.8769, allocations: 1.452 MB / 0.7596 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009458/0.8864, allocations: 2.65 MB / 0.7622 GB, free: 8.156 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01979/0.9062, allocations: 9.024 MB / 0.771 GB, free: 1.941 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.9063, allocations: 3.938 kB / 0.771 GB, free: 1.938 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9063, allocations: 0 / 0.771 GB, free: 1.938 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003891/0.9067, allocations: 0 / 0.771 GB, free: 1.938 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.02323/0.9299, allocations: 6.11 MB / 0.777 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.93, allocations: 8.031 kB / 0.777 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008639/0.9386, allocations: 1.166 MB / 0.7782 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01874/0.9574, allocations: 5.467 MB / 0.7835 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003476/0.9578, allocations: 176.4 kB / 0.7837 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.9595, allocations: 239.7 kB / 0.7839 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.9696, allocations: 2.963 MB / 0.7868 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-05/0.9697, allocations: 7.938 kB / 0.7868 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.9699, allocations: 88 kB / 0.7869 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.129e-05/0.97, allocations: 55.98 kB / 0.7869 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006147/0.9762, allocations: 2.269 MB / 0.7891 GB, free: 15.85 MB / 0.5762 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.02518/1.001, allocations: 13.68 MB / 0.8025 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004791/1.006, allocations: 1.808 MB / 0.8043 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/1.008, allocations: 0.7356 MB / 0.805 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008249/1.016, allocations: 3.982 MB / 0.8089 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/1.016, allocations: 51.5 kB / 0.8089 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001671/1.018, allocations: 191.6 kB / 0.8091 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=105): time 3.306e-06/1.018, allocations: 0 / 0.8091 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=105): time 0.01335/1.031, allocations: 3.778 MB / 0.8128 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/1.032, allocations: 119.8 kB / 0.8129 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005279/1.037, allocations: 3.381 MB / 0.8162 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007622/1.038, allocations: 61.64 kB / 0.8163 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00168/1.039, allocations: 1.74 MB / 0.818 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004441/1.04, allocations: 364 kB / 0.8183 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009222/1.041, allocations: 0.5539 MB / 0.8189 GB, free: 316 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.041, allocations: 301.1 kB / 0.8191 GB, free: 12 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003642/1.044, allocations: 2.199 MB / 0.8213 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004223/1.049, allocations: 2.686 MB / 0.8239 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006908/1.056, allocations: 4.09 MB / 0.8279 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.056, allocations: 0 / 0.8279 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01131/1.067, allocations: 6.26 MB / 0.834 GB, free: 320 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002763/1.067, allocations: 295.5 kB / 0.8343 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/1.067, allocations: 12.14 kB / 0.8343 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/1.069, allocations: 0.8699 MB / 0.8352 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/1.071, allocations: 367.3 kB / 0.8355 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/1.074, allocations: 2.978 MB / 0.8384 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/1.078, allocations: 363.4 kB / 0.8388 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008766/1.079, allocations: 267.9 kB / 0.839 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004782/1.084, allocations: 2.601 MB / 0.8416 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003394/1.088, allocations: 2.417 MB / 0.8439 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005313/1.093, allocations: 3.58 MB / 0.8474 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.061e-05/1.093, allocations: 4 kB / 0.8474 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of matching and sorting (n=263) (initialization_lambda0): time 0.0108/1.104, allocations: 5.885 MB / 0.8532 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002776/1.104, allocations: 294.6 kB / 0.8535 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/1.104, allocations: 12.88 kB / 0.8535 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/1.107, allocations: 1.143 MB / 0.8546 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/1.109, allocations: 335.5 kB / 0.8549 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02583/1.135, allocations: 16.46 MB / 0.871 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004346/1.139, allocations: 327.4 kB / 0.8713 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007881/1.14, allocations: 239.9 kB / 0.8715 GB, free: 8.566 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (167): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * 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.0009093/1.141, allocations: 291.7 kB / 0.8718 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006963/1.141, allocations: 343.6 kB / 0.8721 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008682/1.15, allocations: 2.972 MB / 0.875 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/1.15, allocations: 15.98 kB / 0.8751 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.15, allocations: 0 / 0.8751 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/1.15, allocations: 3.984 kB / 0.8751 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/1.155, allocations: 2.343 MB / 0.8773 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.155, allocations: 0 / 0.8773 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.156, allocations: 231.6 kB / 0.8776 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001757/1.158, allocations: 0.5771 MB / 0.8781 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/1.158, allocations: 39.95 kB / 0.8782 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003446/1.162, allocations: 2.818 MB / 0.8809 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.162, allocations: 0 / 0.8809 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007902/1.169, allocations: 2.707 MB / 0.8836 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/1.171, allocations: 0.5471 MB / 0.8841 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004549/1.172, allocations: 23.94 kB / 0.8841 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.174, allocations: 199.5 kB / 0.8843 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/1.174, allocations: 72.89 kB / 0.8844 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.174, allocations: 63.95 kB / 0.8844 GB, free: 11.16 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003427/1.177, allocations: 2.292 MB / 0.8867 GB, free: 8.863 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.1e-07/1.177, allocations: 0 / 0.8867 GB, free: 8.863 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007234/1.185, allocations: 1.918 MB / 0.8885 GB, free: 6.941 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (105): * Single equations (assignments): 97 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001928/1.187, allocations: 0.672 MB / 0.8892 GB, free: 6.332 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01808/1.205, allocations: 11.88 MB / 0.9008 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.205, allocations: 384 / 0.9008 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/1.207, allocations: 0.88 MB / 0.9017 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008109/1.215, allocations: 1.79 MB / 0.9034 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/1.233, allocations: 7.918 MB / 0.9111 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002399/1.236, allocations: 2.192 MB / 0.9133 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00466/1.24, allocations: 0.7392 MB / 0.914 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008613/1.241, allocations: 267.2 kB / 0.9143 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of SimCode: time 1.142e-06/1.241, allocations: 0 / 0.9143 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of Templates: time 0.4788/1.72, allocations: 101.3 MB / 1.013 GB, free: 253.8 MB / 0.7325 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)