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.2178/0.2185, allocations: 82.22 MB / 0.5935 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1052/0.3238, allocations: 96.25 MB / 0.6875 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5121/0.8359, allocations: 32.95 MB / 0.7196 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008705/0.8446, allocations: 138 kB / 0.7198 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0063/0.851, allocations: 1.29 MB / 0.721 GB, free: 9.672 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01659/0.8676, allocations: 3.768 MB / 0.7247 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01385/0.8815, allocations: 3.009 MB / 0.7276 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02553/0.907, allocations: 10.82 MB / 0.7382 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00961/0.9167, allocations: 2.443 MB / 0.7406 GB, free: 23.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01171/0.9285, allocations: 3.275 MB / 0.7438 GB, free: 23.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009301/0.9378, allocations: 3.369 MB / 0.7471 GB, free: 22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002535/0.9404, allocations: 228.3 kB / 0.7473 GB, free: 22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008817/0.9493, allocations: 1.698 MB / 0.749 GB, free: 21.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003184/0.9525, allocations: 1.127 MB / 0.7501 GB, free: 21.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00435/0.9569, allocations: 0.8504 MB / 0.7509 GB, free: 20.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.9715, allocations: 7.082 MB / 0.7578 GB, free: 16.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.9716, allocations: 0 / 0.7578 GB, free: 16.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.889e-06/0.9716, allocations: 0 / 0.7578 GB, free: 16.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004392/0.9721, allocations: 0 / 0.7578 GB, free: 16.91 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.01815/0.9902, allocations: 5.467 MB / 0.7631 GB, free: 13.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.9903, allocations: 9.875 kB / 0.7632 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007791/0.9981, allocations: 1.271 MB / 0.7644 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01777/1.016, allocations: 5.304 MB / 0.7696 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/1.016, allocations: 174.3 kB / 0.7697 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/1.018, allocations: 236.2 kB / 0.77 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/1.029, allocations: 3.009 MB / 0.7729 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/1.029, allocations: 10.61 kB / 0.7729 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007968/1.03, allocations: 94.95 kB / 0.773 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.599e-05/1.03, allocations: 51.59 kB / 0.7731 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007508/1.038, allocations: 2.301 MB / 0.7753 GB, free: 9.047 MB / 0.545 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.02682/1.065, allocations: 13.71 MB / 0.7887 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004991/1.07, allocations: 1.843 MB / 0.7905 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/1.071, allocations: 0.7298 MB / 0.7912 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/1.083, allocations: 3.995 MB / 0.7951 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/1.083, allocations: 43.56 kB / 0.7951 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00261/1.086, allocations: 225.6 kB / 0.7954 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=105): time 9.168e-06/1.086, allocations: 0 / 0.7954 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=105): time 0.01502/1.101, allocations: 3.966 MB / 0.7992 GB, free: 128 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.101, allocations: 115.8 kB / 0.7993 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008822/1.11, allocations: 3.354 MB / 0.8026 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001269/1.111, allocations: 57.7 kB / 0.8027 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002891/1.114, allocations: 1.742 MB / 0.8044 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008863/1.115, allocations: 361.9 kB / 0.8047 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009876/1.116, allocations: 40 kB / 0.8048 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002949/1.116, allocations: 390 kB / 0.8051 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004418/1.121, allocations: 1.792 MB / 0.8069 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004439/1.125, allocations: 2.288 MB / 0.8091 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004473/1.13, allocations: 2.143 MB / 0.8112 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/1.13, allocations: 4 kB / 0.8112 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01257/1.142, allocations: 5.192 MB / 0.8163 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.001054/1.143, allocations: 0.7402 MB / 0.817 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.245e-05/1.143, allocations: 16 kB / 0.817 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/1.145, allocations: 0.4913 MB / 0.8175 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/1.147, allocations: 363.4 kB / 0.8178 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/1.151, allocations: 3.041 MB / 0.8208 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005455/1.156, allocations: 363.4 kB / 0.8212 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/1.158, allocations: 274.6 kB / 0.8214 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.158, allocations: 4.781 kB / 0.8214 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01408/1.172, allocations: 6.331 MB / 0.8276 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.106e-05/1.172, allocations: 15.94 kB / 0.8276 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003089/1.175, allocations: 1.104 MB / 0.8287 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/1.177, allocations: 331.5 kB / 0.829 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02725/1.204, allocations: 16.07 MB / 0.8447 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005297/1.209, allocations: 327.4 kB / 0.845 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/1.211, allocations: 247.9 kB / 0.8453 GB, free: 15.58 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003878/1.215, allocations: 0.8567 MB / 0.8461 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/1.216, allocations: 343.5 kB / 0.8464 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009918/1.226, allocations: 3.058 MB / 0.8494 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/1.226, allocations: 16 kB / 0.8494 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.226, allocations: 0 / 0.8494 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/1.226, allocations: 3.984 kB / 0.8494 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/1.243, allocations: 5.117 MB / 0.8544 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/1.243, allocations: 8 kB / 0.8544 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.244, allocations: 227.6 kB / 0.8547 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/1.246, allocations: 0.62 MB / 0.8553 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/1.246, allocations: 39.95 kB / 0.8553 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/1.249, allocations: 2.857 MB / 0.8581 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.249, allocations: 2.844 kB / 0.8581 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008154/1.257, allocations: 2.768 MB / 0.8608 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/1.259, allocations: 0.5742 MB / 0.8614 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/1.261, allocations: 19.98 kB / 0.8614 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.263, allocations: 215.5 kB / 0.8616 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.264, allocations: 72.89 kB / 0.8617 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.264, allocations: 55.95 kB / 0.8617 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005824/1.27, allocations: 2.26 MB / 0.8639 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/1.27, allocations: 4 kB / 0.8639 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01181/1.281, allocations: 1.903 MB / 0.8658 GB, free: 10.4 MB / 0.6387 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 (101): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002597/1.284, allocations: 0.6342 MB / 0.8664 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02111/1.305, allocations: 11.57 MB / 0.8777 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.305, allocations: 4 kB / 0.8777 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002656/1.308, allocations: 0.857 MB / 0.8785 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01375/1.322, allocations: 1.741 MB / 0.8802 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/1.346, allocations: 7.885 MB / 0.8879 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003955/1.35, allocations: 2.188 MB / 0.8901 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005935/1.356, allocations: 0.7243 MB / 0.8908 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/1.357, allocations: 263.3 kB / 0.891 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of SimCode: time 2.445e-06/1.357, allocations: 0 / 0.891 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.6272/1.984, allocations: 94.72 MB / 0.9835 GB, free: 277.5 MB / 0.7325 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: