Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.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.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries") [/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.252/0.2543, allocations: 80.84 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05419/0.3085, allocations: 50.39 MB / 0.7198 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03213/0.3407, allocations: 17.89 MB / 0.7373 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004985/0.3458, allocations: 67.62 kB / 0.7374 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004825/0.3507, allocations: 1.138 MB / 0.7385 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009522/0.3603, allocations: 2.226 MB / 0.7406 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01173/0.372, allocations: 3.673 MB / 0.7442 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009596/0.3816, allocations: 4.811 MB / 0.7489 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6023/0.984, allocations: 1.586 MB / 0.7505 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007063/0.9911, allocations: 1.889 MB / 0.7523 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005266/0.9964, allocations: 1.498 MB / 0.7538 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.9976, allocations: 212 kB / 0.754 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006113/1.004, allocations: 1.5 MB / 0.7555 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00165/1.005, allocations: 0.6031 MB / 0.756 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003035/1.008, allocations: 1.086 MB / 0.7571 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01091/1.019, allocations: 3.641 MB / 0.7607 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.019, allocations: 0 / 0.7607 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/1.019, allocations: 2.562 kB / 0.7607 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001547/1.02, allocations: 0.75 kB / 0.7607 GB, free: 5.965 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.008534/1.028, allocations: 2.653 MB / 0.7633 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.333e-05/1.028, allocations: 12.94 kB / 0.7633 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003987/1.032, allocations: 0.5851 MB / 0.7638 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005491/1.038, allocations: 1.884 MB / 0.7657 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/1.038, allocations: 86.16 kB / 0.7658 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/1.038, allocations: 113.9 kB / 0.7659 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003305/1.042, allocations: 1.411 MB / 0.7672 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/1.042, allocations: 4.719 kB / 0.7672 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/1.042, allocations: 43.72 kB / 0.7673 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/1.042, allocations: 32.78 kB / 0.7673 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/1.045, allocations: 1.017 MB / 0.7683 GB, free: 3.648 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.01062/1.055, allocations: 6.728 MB / 0.7749 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/1.058, allocations: 0.8002 MB / 0.7757 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008/1.058, allocations: 330.7 kB / 0.776 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003547/1.062, allocations: 1.798 MB / 0.7777 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/1.062, allocations: 42.28 kB / 0.7778 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.796e-06/1.062, allocations: 0 / 0.7778 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.003992/1.066, allocations: 1.201 MB / 0.779 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/1.066, allocations: 271 kB / 0.7792 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/1.069, allocations: 1.611 MB / 0.7808 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/1.069, allocations: 40.05 kB / 0.7808 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007372/1.07, allocations: 0.8488 MB / 0.7816 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/1.07, allocations: 190.8 kB / 0.7818 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004803/1.071, allocations: 255.1 kB / 0.7821 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.071, allocations: 341.7 kB / 0.7824 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/1.073, allocations: 0.5869 MB / 0.783 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/1.074, allocations: 0.8932 MB / 0.7838 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/1.077, allocations: 1.388 MB / 0.7852 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.077, allocations: 5.406 kB / 0.7852 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004726/1.082, allocations: 1.879 MB / 0.787 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/1.082, allocations: 104.3 kB / 0.7871 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4e-05/1.082, allocations: 12.25 kB / 0.7872 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/1.082, allocations: 189.8 kB / 0.7873 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/1.083, allocations: 200.3 kB / 0.7875 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/1.084, allocations: 0.7275 MB / 0.7882 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.086, allocations: 146.1 kB / 0.7884 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/1.087, allocations: 84.81 kB / 0.7885 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002224/1.089, allocations: 0.8545 MB / 0.7893 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001379/1.09, allocations: 0.8075 MB / 0.7901 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002174/1.092, allocations: 1.236 MB / 0.7913 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.793e-06/1.092, allocations: 2.438 kB / 0.7913 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=129) (initialization_lambda0): time 0.004239/1.097, allocations: 1.761 MB / 0.793 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.097, allocations: 103.7 kB / 0.7931 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.097, allocations: 12.84 kB / 0.7931 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009478/1.098, allocations: 264.8 kB / 0.7934 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/1.099, allocations: 188.8 kB / 0.7936 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/1.112, allocations: 5.383 MB / 0.7988 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/1.114, allocations: 104 kB / 0.7989 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004575/1.115, allocations: 72.69 kB / 0.799 GB, free: 7.852 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (92): * Single equations (assignments): 85 * Array equations: 2 * Algorithm blocks: 2 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001126/1.116, allocations: 239.5 kB / 0.7992 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/1.117, allocations: 175.2 kB / 0.7994 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/1.122, allocations: 1.149 MB / 0.8005 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/1.122, allocations: 7.281 kB / 0.8005 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.122, allocations: 0 / 0.8005 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.122, allocations: 7.781 kB / 0.8005 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/1.125, allocations: 1.144 MB / 0.8016 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.125, allocations: 0 / 0.8016 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006811/1.126, allocations: 115.5 kB / 0.8017 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/1.127, allocations: 140.7 kB / 0.8019 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/1.127, allocations: 22.86 kB / 0.8019 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005698/1.127, allocations: 0.667 MB / 0.8025 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.127, allocations: 1.922 kB / 0.8025 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003797/1.131, allocations: 1.461 MB / 0.804 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.132, allocations: 326.2 kB / 0.8043 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/1.132, allocations: 19.17 kB / 0.8043 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/1.133, allocations: 33.33 kB / 0.8043 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.133, allocations: 41.44 kB / 0.8044 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-05/1.133, allocations: 30.36 kB / 0.8044 GB, free: 5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001887/1.135, allocations: 1.091 MB / 0.8055 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/1.135, allocations: 4 kB / 0.8055 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004387/1.14, allocations: 1.004 MB / 0.8065 GB, free: 4.34 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001922/1.142, allocations: 0.5837 MB / 0.807 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006344/1.148, allocations: 3.393 MB / 0.8103 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.148, allocations: 1.469 kB / 0.8103 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009725/1.149, allocations: 377.7 kB / 0.8107 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005121/1.154, allocations: 0.7966 MB / 0.8115 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006809/1.161, allocations: 2.832 MB / 0.8142 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.162, allocations: 1.377 MB / 0.8156 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001726/1.164, allocations: 360.3 kB / 0.8159 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/1.164, allocations: 129.1 kB / 0.8161 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of SimCode: time 1.162e-06/1.164, allocations: 0 / 0.8161 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of Templates: time 0.08415/1.248, allocations: 41.65 MB / 0.8567 GB, free: 6.578 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)