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.4964/0.4985, allocations: 80.81 MB / 0.5904 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.04668/0.5453, allocations: 50.39 MB / 0.6396 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0297/0.575, allocations: 17.88 MB / 0.6571 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003731/0.5789, allocations: 71.62 kB / 0.6572 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00401/0.5829, allocations: 1.142 MB / 0.6583 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007361/0.5903, allocations: 2.221 MB / 0.6604 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009896/0.6002, allocations: 3.673 MB / 0.664 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008598/0.6088, allocations: 4.811 MB / 0.6687 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003475/0.6123, allocations: 1.599 MB / 0.6703 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005186/0.6175, allocations: 1.887 MB / 0.6721 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/0.6206, allocations: 1.471 MB / 0.6736 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008282/0.6214, allocations: 212 kB / 0.6738 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004171/0.6256, allocations: 1.498 MB / 0.6752 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.6268, allocations: 0.6074 MB / 0.6758 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003265/0.63, allocations: 1.077 MB / 0.6769 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007624/0.6377, allocations: 3.58 MB / 0.6804 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.6377, allocations: 0 / 0.6804 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6377, allocations: 11.94 kB / 0.6804 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001221/0.6379, allocations: 0 / 0.6804 GB, free: 10.39 MB / 0.5137 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.006854/0.6447, allocations: 2.579 MB / 0.6829 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.6448, allocations: 12.03 kB / 0.6829 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/0.6484, allocations: 0.572 MB / 0.6835 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00444/0.6529, allocations: 1.819 MB / 0.6852 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.692e-05/0.653, allocations: 86.09 kB / 0.6853 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.6532, allocations: 115.9 kB / 0.6854 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.6558, allocations: 1.419 MB / 0.6868 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.6558, allocations: 0 / 0.6868 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.656, allocations: 44 kB / 0.6869 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/0.656, allocations: 35.92 kB / 0.6869 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.6584, allocations: 1.019 MB / 0.6879 GB, free: 2.445 MB / 0.5137 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.01019/0.6686, allocations: 6.747 MB / 0.6945 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.6711, allocations: 0.8072 MB / 0.6953 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008191/0.6719, allocations: 333.9 kB / 0.6956 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003204/0.6751, allocations: 1.781 MB / 0.6973 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.6752, allocations: 43 kB / 0.6974 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=50): time 2.545e-06/0.6752, allocations: 0 / 0.6974 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=50): time 0.003755/0.679, allocations: 1.198 MB / 0.6985 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.6791, allocations: 265.5 kB / 0.6988 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/0.6819, allocations: 1.613 MB / 0.7004 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.682, allocations: 41.7 kB / 0.7004 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000788/0.6828, allocations: 0.8296 MB / 0.7012 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.683, allocations: 181.4 kB / 0.7014 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/0.6835, allocations: 250.4 kB / 0.7016 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6837, allocations: 349.9 kB / 0.702 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.685, allocations: 0.5907 MB / 0.7025 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.6866, allocations: 0.8876 MB / 0.7034 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/0.6892, allocations: 1.387 MB / 0.7048 GB, free: 216 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.6892, allocations: 4 kB / 0.7048 GB, free: 212 kB / 0.5294 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003907/0.6931, allocations: 1.867 MB / 0.7066 GB, free: 14.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.6932, allocations: 109.4 kB / 0.7067 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/0.6933, allocations: 12 kB / 0.7067 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004653/0.6938, allocations: 185.4 kB / 0.7069 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008431/0.6946, allocations: 199.7 kB / 0.7071 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.6956, allocations: 0.7318 MB / 0.7078 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.697, allocations: 150.5 kB / 0.7079 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.6972, allocations: 83.89 kB / 0.708 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001706/0.6989, allocations: 0.8497 MB / 0.7088 GB, free: 11.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001183/0.7001, allocations: 0.8096 MB / 0.7096 GB, free: 11.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001973/0.7021, allocations: 1.235 MB / 0.7108 GB, free: 9.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.06e-06/0.7021, allocations: 0 / 0.7108 GB, free: 9.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=129) (initialization_lambda0): time 0.003768/0.7059, allocations: 1.743 MB / 0.7125 GB, free: 7.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.706, allocations: 103.4 kB / 0.7126 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.693e-05/0.706, allocations: 20.02 kB / 0.7127 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009479/0.707, allocations: 260.6 kB / 0.7129 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007761/0.7078, allocations: 191.8 kB / 0.7131 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.7203, allocations: 5.388 MB / 0.7183 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.7221, allocations: 103.2 kB / 0.7184 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.7223, allocations: 71.97 kB / 0.7185 GB, free: 1.453 MB / 0.545 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.0005061/0.7228, allocations: 248 kB / 0.7187 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.7231, allocations: 165.8 kB / 0.7189 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/0.7261, allocations: 1.137 MB / 0.72 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.7261, allocations: 11.98 kB / 0.72 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.7261, allocations: 0 / 0.72 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.7261, allocations: 4 kB / 0.72 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.7282, allocations: 1.147 MB / 0.7212 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.7282, allocations: 3.938 kB / 0.7212 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.7288, allocations: 111.8 kB / 0.7213 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/0.7294, allocations: 128.8 kB / 0.7214 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.7294, allocations: 27.91 kB / 0.7214 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006712/0.7301, allocations: 0.6616 MB / 0.7221 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.7301, allocations: 8.094 kB / 0.7221 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/0.7337, allocations: 1.474 MB / 0.7235 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005706/0.7343, allocations: 314.8 kB / 0.7238 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.7344, allocations: 12 kB / 0.7238 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.7351, allocations: 43.89 kB / 0.7239 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/0.7352, allocations: 36.52 kB / 0.7239 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.421e-05/0.7353, allocations: 27.97 kB / 0.7239 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001587/0.7369, allocations: 1.089 MB / 0.725 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7369, allocations: 0 / 0.725 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003403/0.7403, allocations: 1.006 MB / 0.726 GB, free: 9.641 MB / 0.5606 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.001515/0.7418, allocations: 0.5641 MB / 0.7265 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006161/0.748, allocations: 3.431 MB / 0.7299 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.748, allocations: 8.062 kB / 0.7299 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.7489, allocations: 371 kB / 0.7302 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/0.7524, allocations: 0.8103 MB / 0.731 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006023/0.7584, allocations: 2.805 MB / 0.7338 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009738/0.7594, allocations: 1.376 MB / 0.7351 GB, free: 200 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00171/0.7612, allocations: 373.4 kB / 0.7355 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.7615, allocations: 131.3 kB / 0.7356 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.7615, allocations: 0 / 0.7356 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.4121/1.174, allocations: 41.46 MB / 0.7761 GB, free: 138 MB / 0.5762 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)