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.1878/0.1898, allocations: 80.84 MB / 0.5899 GB, free: 6.957 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachine): time 0.7907/0.9806, allocations: 368.2 MB / 0.9495 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6013/1.582, allocations: 49.28 MB / 0.9976 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0106/1.593, allocations: 165.5 kB / 0.9978 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009158/1.602, allocations: 2.47 MB / 1 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0218/1.624, allocations: 7.385 MB / 1.007 GB, free: 256 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01255/1.636, allocations: 4.241 MB / 1.012 GB, free: 180 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02473/1.661, allocations: 11.55 MB / 1.023 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009544/1.671, allocations: 4.013 MB / 1.027 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02098/1.692, allocations: 6.979 MB / 1.034 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0112/1.703, allocations: 4.208 MB / 1.038 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.003475/1.706, allocations: 0.5248 MB / 1.038 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01503/1.721, allocations: 5.347 MB / 1.043 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.005359/1.727, allocations: 1.816 MB / 1.045 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01008/1.737, allocations: 2.804 MB / 1.048 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02151/1.758, allocations: 9.776 MB / 1.057 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/1.759, allocations: 4 kB / 1.057 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/1.759, allocations: 6.75 kB / 1.057 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003276/1.759, allocations: 0 / 1.057 GB, free: 11.93 MB / 0.7325 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.01979/1.779, allocations: 6.053 MB / 1.063 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.779, allocations: 11 kB / 1.063 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/1.791, allocations: 1.52 MB / 1.065 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/1.802, allocations: 4.047 MB / 1.069 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008411/1.803, allocations: 327.1 kB / 1.069 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/1.804, allocations: 272.9 kB / 1.069 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/1.817, allocations: 3.534 MB / 1.073 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/1.818, allocations: 3.656 kB / 1.073 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009161/1.819, allocations: 106.4 kB / 1.073 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/1.819, allocations: 96.88 kB / 1.073 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00999/1.829, allocations: 3.001 MB / 1.076 GB, free: 312 kB / 0.7325 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.0297/1.858, allocations: 16.38 MB / 1.092 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007861/1.866, allocations: 2.259 MB / 1.094 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/1.869, allocations: 0.8403 MB / 1.095 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.741e-05/1.869, allocations: 28.48 kB / 1.095 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004365/1.873, allocations: 1.394 MB / 1.096 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00275/1.876, allocations: 320.7 kB / 1.097 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=100): time 9.518e-06/1.876, allocations: 0 / 1.097 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of matching and sorting (n=100): time 0.01537/1.891, allocations: 3.928 MB / 1.101 GB, free: 6.09 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/1.892, allocations: 376.8 kB / 1.101 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008388/1.9, allocations: 3.739 MB / 1.105 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0007405/1.901, allocations: 53.7 kB / 1.105 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002785/1.904, allocations: 2.003 MB / 1.107 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007858/1.904, allocations: 347.5 kB / 1.107 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002133/1.906, allocations: 499 kB / 1.107 GB, free: 15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.907, allocations: 309.1 kB / 1.108 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003517/1.91, allocations: 1.316 MB / 1.109 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004316/1.915, allocations: 2.104 MB / 1.111 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006207/1.921, allocations: 3.018 MB / 1.114 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/1.921, allocations: 11.94 kB / 1.114 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01141/1.932, allocations: 4.252 MB / 1.118 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002796/1.933, allocations: 239.2 kB / 1.118 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.357e-05/1.933, allocations: 19.98 kB / 1.118 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/1.934, allocations: 0.5441 MB / 1.119 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/1.936, allocations: 394.7 kB / 1.119 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00624/1.943, allocations: 3.917 MB / 1.123 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005692/1.948, allocations: 443.1 kB / 1.123 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008769/1.949, allocations: 151.9 kB / 1.124 GB, free: 13.66 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005633/1.955, allocations: 1.862 MB / 1.125 GB, free: 11.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003715/1.959, allocations: 1.906 MB / 1.127 GB, free: 9.57 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006034/1.965, allocations: 2.664 MB / 1.13 GB, free: 6.738 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.409e-05/1.965, allocations: 7.938 kB / 1.13 GB, free: 6.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.0107/1.975, allocations: 3.758 MB / 1.134 GB, free: 3.027 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002842/1.976, allocations: 249.3 kB / 1.134 GB, free: 2.754 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.145e-05/1.976, allocations: 12 kB / 1.134 GB, free: 2.742 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/1.977, allocations: 477.8 kB / 1.134 GB, free: 2.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/1.979, allocations: 370.7 kB / 1.135 GB, free: 1.926 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/1.982, allocations: 3.233 MB / 1.138 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005782/1.988, allocations: 376.4 kB / 1.138 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00069/1.989, allocations: 143.9 kB / 1.138 GB, free: 14.02 MB / 0.8106 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 (160): * Single equations (assignments): 152 * 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.001183/1.99, allocations: 311.3 kB / 1.139 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/1.992, allocations: 375.2 kB / 1.139 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00823/2, allocations: 2.446 MB / 1.141 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/2, allocations: 8 kB / 1.141 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/2, allocations: 7.984 kB / 1.141 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/2, allocations: 3.984 kB / 1.141 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008776/2.009, allocations: 2.855 MB / 1.144 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/2.009, allocations: 64 / 1.144 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/2.011, allocations: 253.1 kB / 1.144 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/2.012, allocations: 425.8 kB / 1.145 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002812/2.012, allocations: 31.97 kB / 1.145 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005099/2.017, allocations: 3.641 MB / 1.148 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/2.017, allocations: 0 / 1.148 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007433/2.025, allocations: 2.376 MB / 1.151 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/2.027, allocations: 0.5781 MB / 1.151 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/2.028, allocations: 20 kB / 1.151 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003503/2.032, allocations: 259.5 kB / 1.152 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/2.032, allocations: 80.88 kB / 1.152 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/2.032, allocations: 46.58 kB / 1.152 GB, free: 92 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00603/2.038, allocations: 2.51 MB / 1.154 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.094e-06/2.038, allocations: 0 / 1.154 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.009964/2.048, allocations: 1.914 MB / 1.156 GB, free: 11.66 MB / 0.8262 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 (87): * Single equations (assignments): 82 * 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.001566/2.05, allocations: 459.7 kB / 1.156 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01424/2.064, allocations: 7.294 MB / 1.164 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/2.064, allocations: 0 / 1.164 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00309/2.067, allocations: 1.052 MB / 1.165 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01402/2.081, allocations: 2.095 MB / 1.167 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/2.101, allocations: 8.512 MB / 1.175 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/2.103, allocations: 2.406 MB / 1.177 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.004623/2.107, allocations: 0.8162 MB / 1.178 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008298/2.108, allocations: 255.4 kB / 1.178 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of SimCode: time 7.81e-07/2.108, allocations: 4 kB / 1.178 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of Templates: time 0.1484/2.257, allocations: 91.55 MB / 1.268 GB, free: 10.37 MB / 0.9356 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)