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.2009/0.2029, allocations: 80.83 MB / 0.5897 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.5597/0.7627, allocations: 103.7 MB / 0.6909 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.05668/0.8194, allocations: 35.72 MB / 0.7258 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00875/0.8282, allocations: 144.2 kB / 0.726 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007232/0.8355, allocations: 1.62 MB / 0.7275 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01868/0.8542, allocations: 4.327 MB / 0.7318 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/0.8659, allocations: 3.711 MB / 0.7354 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0181/0.884, allocations: 12.72 MB / 0.7478 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006012/0.89, allocations: 2.806 MB / 0.7506 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0108/0.9009, allocations: 3.393 MB / 0.7539 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008794/0.9097, allocations: 3.656 MB / 0.7574 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002664/0.9124, allocations: 270.8 kB / 0.7577 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.9228, allocations: 2.166 MB / 0.7598 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004516/0.9274, allocations: 1.217 MB / 0.761 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01019/0.9376, allocations: 2.316 MB / 0.7633 GB, free: 8.082 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01768/0.9553, allocations: 8.764 MB / 0.7718 GB, free: 1.645 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9553, allocations: 0 / 0.7718 GB, free: 1.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9554, allocations: 0 / 0.7718 GB, free: 1.645 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003116/0.9557, allocations: 4 kB / 0.7718 GB, free: 1.641 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.02276/0.9784, allocations: 6.102 MB / 0.7778 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.481e-05/0.9785, allocations: 15.97 kB / 0.7778 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009176/0.9877, allocations: 1.174 MB / 0.779 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01721/1.005, allocations: 5.468 MB / 0.7843 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/1.005, allocations: 176.4 kB / 0.7845 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001541/1.007, allocations: 235.2 kB / 0.7847 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/1.018, allocations: 2.963 MB / 0.7876 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/1.019, allocations: 7.938 kB / 0.7876 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009638/1.02, allocations: 84 kB / 0.7877 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/1.02, allocations: 52 kB / 0.7877 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008787/1.028, allocations: 2.275 MB / 0.7899 GB, free: 14.91 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.02926/1.058, allocations: 13.7 MB / 0.8033 GB, free: 444 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005792/1.064, allocations: 1.797 MB / 0.8051 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/1.066, allocations: 0.7317 MB / 0.8058 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/1.076, allocations: 3.991 MB / 0.8097 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/1.076, allocations: 43.56 kB / 0.8097 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002462/1.079, allocations: 218 kB / 0.8099 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=105): time 9.247e-06/1.079, allocations: 0 / 0.8099 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=105): time 0.01624/1.095, allocations: 3.743 MB / 0.8136 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/1.095, allocations: 115.8 kB / 0.8137 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008663/1.104, allocations: 3.389 MB / 0.817 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009229/1.105, allocations: 61.7 kB / 0.8171 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002311/1.107, allocations: 1.739 MB / 0.8188 GB, free: 260 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008477/1.108, allocations: 365.2 kB / 0.8191 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/1.11, allocations: 0.5538 MB / 0.8197 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.11, allocations: 301.1 kB / 0.8199 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003746/1.114, allocations: 2.199 MB / 0.8221 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004268/1.118, allocations: 2.674 MB / 0.8247 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007181/1.125, allocations: 4.074 MB / 0.8287 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/1.125, allocations: 4 kB / 0.8287 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01179/1.137, allocations: 6.238 MB / 0.8348 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002867/1.138, allocations: 294.6 kB / 0.8351 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-05/1.138, allocations: 15.98 kB / 0.8351 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/1.139, allocations: 0.8627 MB / 0.8359 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/1.141, allocations: 363.4 kB / 0.8363 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/1.144, allocations: 2.986 MB / 0.8392 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/1.149, allocations: 355.4 kB / 0.8395 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007353/1.15, allocations: 259.9 kB / 0.8398 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004798/1.155, allocations: 2.598 MB / 0.8423 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004054/1.159, allocations: 2.417 MB / 0.8447 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00598/1.165, allocations: 3.57 MB / 0.8481 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.048e-05/1.165, allocations: 4 kB / 0.8481 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of matching and sorting (n=263) (initialization_lambda0): time 0.01199/1.177, allocations: 5.882 MB / 0.8539 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002774/1.177, allocations: 294.6 kB / 0.8542 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/1.177, allocations: 12.25 kB / 0.8542 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003082/1.18, allocations: 1.132 MB / 0.8553 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.182, allocations: 335.5 kB / 0.8556 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02461/1.206, allocations: 15 MB / 0.8703 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00502/1.211, allocations: 319.4 kB / 0.8706 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009968/1.212, allocations: 247.9 kB / 0.8708 GB, free: 9.168 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.001028/1.214, allocations: 287.8 kB / 0.8711 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009264/1.214, allocations: 347.5 kB / 0.8714 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008724/1.223, allocations: 2.917 MB / 0.8742 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/1.223, allocations: 15.98 kB / 0.8743 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/1.223, allocations: 4 kB / 0.8743 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/1.223, allocations: 7.969 kB / 0.8743 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/1.238, allocations: 5.005 MB / 0.8792 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.238, allocations: 0 / 0.8792 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.239, allocations: 227.7 kB / 0.8794 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/1.241, allocations: 0.5771 MB / 0.8799 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/1.241, allocations: 39.95 kB / 0.88 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003286/1.244, allocations: 2.81 MB / 0.8827 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.244, allocations: 0 / 0.8827 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008169/1.253, allocations: 2.648 MB / 0.8853 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/1.255, allocations: 0.5354 MB / 0.8858 GB, free: 9.594 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004499/1.255, allocations: 23.94 kB / 0.8859 GB, free: 9.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/1.257, allocations: 199.5 kB / 0.886 GB, free: 9.375 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.257, allocations: 68.89 kB / 0.8861 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.257, allocations: 59.95 kB / 0.8862 GB, free: 9.25 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003784/1.261, allocations: 2.292 MB / 0.8884 GB, free: 6.953 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.81e-07/1.261, allocations: 7.938 kB / 0.8884 GB, free: 6.945 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007644/1.269, allocations: 1.914 MB / 0.8903 GB, free: 5.027 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 (101): * Single equations (assignments): 93 * 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.001968/1.271, allocations: 0.6643 MB / 0.8909 GB, free: 4.418 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01724/1.288, allocations: 11.75 MB / 0.9024 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.288, allocations: 4 kB / 0.9024 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/1.29, allocations: 0.8385 MB / 0.9032 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008107/1.299, allocations: 1.72 MB / 0.9049 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/1.317, allocations: 7.887 MB / 0.9126 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/1.319, allocations: 2.184 MB / 0.9147 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004426/1.323, allocations: 0.733 MB / 0.9155 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007939/1.324, allocations: 263.2 kB / 0.9157 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of SimCode: time 1.122e-06/1.324, allocations: 0 / 0.9157 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of Templates: time 0.5644/1.889, allocations: 98.77 MB / 1.012 GB, free: 254.3 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)