Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") [/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.1863/0.1885, allocations: 80.83 MB / 0.6706 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.7902/0.9786, allocations: 205.6 MB / 0.8714 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02613/1.005, allocations: 16.03 MB / 0.8871 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003158/1.008, allocations: 55.69 kB / 0.8871 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003479/1.012, allocations: 1.022 MB / 0.8881 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007523/1.019, allocations: 2.391 MB / 0.8905 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00922/1.028, allocations: 3.263 MB / 0.8937 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006849/1.035, allocations: 4.117 MB / 0.8977 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002631/1.038, allocations: 1.425 MB / 0.8991 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005427/1.043, allocations: 2.141 MB / 0.9012 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003134/1.046, allocations: 1.391 MB / 0.9025 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00047/1.047, allocations: 216 kB / 0.9027 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005617/1.053, allocations: 2.53 MB / 0.9052 GB, free: 9.809 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/1.054, allocations: 0.6662 MB / 0.9059 GB, free: 9.141 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001627/1.055, allocations: 1.066 MB / 0.9069 GB, free: 8.07 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007455/1.063, allocations: 4.079 MB / 0.9109 GB, free: 3.98 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/1.063, allocations: 0 / 0.9109 GB, free: 3.98 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.434e-06/1.063, allocations: 3.938 kB / 0.9109 GB, free: 3.977 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.505e-05/1.063, allocations: 0 / 0.9109 GB, free: 3.977 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.006304/1.069, allocations: 2.57 MB / 0.9134 GB, free: 1.332 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.069, allocations: 16.03 kB / 0.9134 GB, free: 1.316 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00277/1.072, allocations: 441.3 kB / 0.9138 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003582/1.076, allocations: 1.643 MB / 0.9154 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/1.076, allocations: 86.06 kB / 0.9155 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/1.076, allocations: 111.9 kB / 0.9156 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/1.079, allocations: 1.322 MB / 0.9169 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/1.079, allocations: 4 kB / 0.9169 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.079, allocations: 44 kB / 0.917 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/1.079, allocations: 41.95 kB / 0.917 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/1.081, allocations: 1.011 MB / 0.918 GB, free: 12.48 MB / 0.6856 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.007801/1.089, allocations: 5.202 MB / 0.9231 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/1.092, allocations: 0.8624 MB / 0.9239 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008398/1.092, allocations: 410.1 kB / 0.9243 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.845e-05/1.092, allocations: 12.62 kB / 0.9243 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/1.094, allocations: 0.6072 MB / 0.9249 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=65): time 2.906e-06/1.094, allocations: 0 / 0.9249 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of matching and sorting (n=65): time 0.003289/1.097, allocations: 1.138 MB / 0.926 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002576/1.097, allocations: 325 kB / 0.9263 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/1.099, allocations: 1.29 MB / 0.9276 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/1.099, allocations: 41.7 kB / 0.9276 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007327/1.1, allocations: 0.7042 MB / 0.9283 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/1.101, allocations: 228.7 kB / 0.9285 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004673/1.101, allocations: 210.4 kB / 0.9287 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.101, allocations: 345.9 kB / 0.9291 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.102, allocations: 0.4928 MB / 0.9295 GB, free: 144 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/1.103, allocations: 0.7469 MB / 0.9303 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/1.105, allocations: 1.119 MB / 0.9314 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.105, allocations: 4 kB / 0.9314 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002869/1.108, allocations: 1.462 MB / 0.9328 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.584e-05/1.108, allocations: 88 kB / 0.9329 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/1.108, allocations: 4 kB / 0.9329 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/1.108, allocations: 8 kB / 0.9329 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/1.111, allocations: 351.5 kB / 0.9332 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/1.114, allocations: 2.973 MB / 0.9361 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/1.116, allocations: 118.9 kB / 0.9362 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/1.116, allocations: 55.97 kB / 0.9363 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001515/1.118, allocations: 0.7519 MB / 0.937 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001165/1.119, allocations: 0.6805 MB / 0.9377 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00159/1.12, allocations: 1.002 MB / 0.9387 GB, free: 6.176 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.152e-06/1.12, allocations: 3.984 kB / 0.9387 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.002739/1.123, allocations: 1.317 MB / 0.94 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-05/1.123, allocations: 92.56 kB / 0.9401 GB, free: 4.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.123, allocations: 4 kB / 0.9401 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.123, allocations: 8 kB / 0.9401 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/1.124, allocations: 175.7 kB / 0.9402 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/1.124, allocations: 4.219 kB / 0.9402 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.125, allocations: 115.2 kB / 0.9403 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/1.125, allocations: 47.98 kB / 0.9404 GB, free: 4.383 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 88 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003806/1.126, allocations: 232.7 kB / 0.9406 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/1.126, allocations: 150.1 kB / 0.9408 GB, free: 4 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/1.129, allocations: 0.8527 MB / 0.9416 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.129, allocations: 8 kB / 0.9416 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.129, allocations: 0 / 0.9416 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001547/1.13, allocations: 0.7633 MB / 0.9423 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/1.133, allocations: 1.358 MB / 0.9437 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.133, allocations: 0 / 0.9437 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/1.135, allocations: 315.5 kB / 0.944 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/1.135, allocations: 4 kB / 0.944 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.889e-05/1.135, allocations: 19.98 kB / 0.944 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003672/1.139, allocations: 2.941 MB / 0.9469 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.139, allocations: 7.969 kB / 0.9469 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/1.142, allocations: 1.269 MB / 0.9481 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.143, allocations: 307.1 kB / 0.9484 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/1.143, allocations: 16 kB / 0.9484 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000921/1.144, allocations: 47.95 kB / 0.9485 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/1.145, allocations: 52.48 kB / 0.9485 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/1.145, allocations: 23.98 kB / 0.9485 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001586/1.146, allocations: 0.88 MB / 0.9494 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.146, allocations: 0 / 0.9494 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002926/1.149, allocations: 0.8106 MB / 0.9502 GB, free: 9.906 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001162/1.15, allocations: 364.1 kB / 0.9505 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006738/1.157, allocations: 2.634 MB / 0.9531 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.157, allocations: 0 / 0.9531 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00305/1.16, allocations: 0.6163 MB / 0.9537 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003855/1.164, allocations: 0.7212 MB / 0.9544 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005614/1.17, allocations: 2.677 MB / 0.957 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.171, allocations: 1.304 MB / 0.9583 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001432/1.172, allocations: 335.3 kB / 0.9586 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/1.173, allocations: 115.3 kB / 0.9587 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of SimCode: time 1.232e-06/1.173, allocations: 0 / 0.9587 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.06244/1.235, allocations: 32.85 MB / 0.9908 GB, free: 476 kB / 0.7481 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)