Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.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.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") [/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.2097/0.2118, allocations: 80.84 MB / 0.6707 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachine): time 0.9561/1.168, allocations: 372.4 MB / 1.034 GB, free: 5.137 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.8356/2.004, allocations: 49.54 MB / 1.083 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01037/2.014, allocations: 186.5 kB / 1.083 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01024/2.024, allocations: 2.779 MB / 1.086 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.02923/2.054, allocations: 7.853 MB / 1.093 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01457/2.068, allocations: 4.592 MB / 1.098 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02347/2.092, allocations: 11.55 MB / 1.109 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008479/2.1, allocations: 4.027 MB / 1.113 GB, free: 16.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02242/2.123, allocations: 6.981 MB / 1.12 GB, free: 16.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01329/2.136, allocations: 3.937 MB / 1.124 GB, free: 16.09 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003374/2.139, allocations: 0.5128 MB / 1.124 GB, free: 16.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01648/2.156, allocations: 5.191 MB / 1.129 GB, free: 16.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004742/2.161, allocations: 1.77 MB / 1.131 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.009099/2.17, allocations: 2.779 MB / 1.134 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02362/2.193, allocations: 9.502 MB / 1.143 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/2.194, allocations: 0 / 1.143 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.883e-06/2.194, allocations: 0 / 1.143 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003285/2.194, allocations: 0 / 1.143 GB, free: 14.07 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 651 * Number of variables: 651 Notification: Performance of Generate backend data structure: time 0.02056/2.214, allocations: 6.015 MB / 1.149 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/2.215, allocations: 8.438 kB / 1.149 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/2.225, allocations: 1.528 MB / 1.15 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01386/2.239, allocations: 4.146 MB / 1.154 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003499/2.24, allocations: 217.2 kB / 1.155 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/2.241, allocations: 273.4 kB / 1.155 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009556/2.251, allocations: 3.52 MB / 1.158 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.124e-05/2.251, allocations: 8.438 kB / 1.158 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002666/2.251, allocations: 106.4 kB / 1.158 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.931e-05/2.251, allocations: 91.77 kB / 1.158 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00827/2.259, allocations: 2.901 MB / 1.161 GB, free: 8.957 MB / 0.8419 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.02666/2.286, allocations: 16.82 MB / 1.178 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007328/2.294, allocations: 2.113 MB / 1.18 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/2.296, allocations: 0.8031 MB / 1.181 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-05/2.296, allocations: 31.89 kB / 1.181 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00399/2.3, allocations: 1.34 MB / 1.182 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=92): time 3.036e-06/2.3, allocations: 0 / 1.182 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92): time 0.01479/2.315, allocations: 3.814 MB / 1.186 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002131/2.315, allocations: 380.5 kB / 1.186 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007099/2.322, allocations: 3.785 MB / 1.19 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/2.323, allocations: 56.7 kB / 1.19 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.003234/2.326, allocations: 2.004 MB / 1.192 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000978/2.327, allocations: 330.7 kB / 1.192 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/2.329, allocations: 486.2 kB / 1.192 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001626/2.329, allocations: 301.1 kB / 1.193 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0032/2.332, allocations: 1.272 MB / 1.194 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003961/2.336, allocations: 2.067 MB / 1.196 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006263/2.342, allocations: 2.933 MB / 1.199 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/2.342, allocations: 4 kB / 1.199 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01098/2.353, allocations: 4.172 MB / 1.203 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002211/2.353, allocations: 240.3 kB / 1.203 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/2.354, allocations: 16 kB / 1.203 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/2.355, allocations: 0.5451 MB / 1.204 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/2.357, allocations: 373.4 kB / 1.204 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006009/2.363, allocations: 3.8 MB / 1.208 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005638/2.369, allocations: 436.2 kB / 1.208 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007971/2.369, allocations: 139.9 kB / 1.208 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004983/2.374, allocations: 1.827 MB / 1.21 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003208/2.378, allocations: 1.869 MB / 1.212 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005004/2.383, allocations: 2.572 MB / 1.214 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.764e-06/2.383, allocations: 4 kB / 1.214 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.008801/2.392, allocations: 3.663 MB / 1.218 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001975/2.392, allocations: 240.4 kB / 1.218 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/2.392, allocations: 16 kB / 1.218 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/2.393, allocations: 475.3 kB / 1.219 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/2.395, allocations: 346.6 kB / 1.219 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/2.398, allocations: 3.23 MB / 1.222 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005021/2.403, allocations: 335.4 kB / 1.223 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005495/2.403, allocations: 132.1 kB / 1.223 GB, free: 7.156 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 5 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,7), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008099/2.404, allocations: 305.3 kB / 1.223 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/2.405, allocations: 375.2 kB / 1.223 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007495/2.413, allocations: 2.326 MB / 1.226 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/2.413, allocations: 16 kB / 1.226 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/2.413, allocations: 0 / 1.226 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/2.413, allocations: 7.922 kB / 1.226 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006441/2.419, allocations: 2.857 MB / 1.228 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/2.419, allocations: 0 / 1.228 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/2.421, allocations: 231.3 kB / 1.229 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/2.422, allocations: 418.2 kB / 1.229 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/2.422, allocations: 31.97 kB / 1.229 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00517/2.427, allocations: 3.631 MB / 1.233 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/2.427, allocations: 4.031 kB / 1.233 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00748/2.435, allocations: 2.281 MB / 1.235 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/2.437, allocations: 0.5936 MB / 1.235 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007863/2.438, allocations: 24 kB / 1.235 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/2.44, allocations: 159.8 kB / 1.236 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/2.44, allocations: 64.91 kB / 1.236 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/2.441, allocations: 43.91 kB / 1.236 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.004252/2.445, allocations: 2.548 MB / 1.238 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/2.445, allocations: 0 / 1.238 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.006611/2.451, allocations: 1.839 MB / 1.24 GB, free: 5.191 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,9), (1,4), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001333/2.453, allocations: 468 kB / 1.24 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01352/2.466, allocations: 7.064 MB / 1.247 GB, free: 13.69 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/2.466, allocations: 0 / 1.247 GB, free: 13.69 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002782/2.469, allocations: 0.9884 MB / 1.248 GB, free: 12.7 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01072/2.48, allocations: 2.11 MB / 1.25 GB, free: 10.62 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/2.498, allocations: 6.967 MB / 1.257 GB, free: 3.633 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002072/2.5, allocations: 2.384 MB / 1.259 GB, free: 1.215 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.004149/2.504, allocations: 0.8084 MB / 1.26 GB, free: 408 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008475/2.505, allocations: 251.4 kB / 1.26 GB, free: 156 kB / 0.92 GB Notification: Performance of SimCode: time 1.092e-06/2.505, allocations: 0 / 1.26 GB, free: 156 kB / 0.92 GB Notification: Performance of Templates: time 0.1405/2.646, allocations: 88.48 MB / 1.347 GB, free: 8.711 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)