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.2386/0.2419, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.8917/1.134, allocations: 205.6 MB / 0.8714 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02664/1.16, allocations: 16.04 MB / 0.8871 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003727/1.164, allocations: 55.69 kB / 0.8872 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003694/1.168, allocations: 1.021 MB / 0.8881 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008478/1.176, allocations: 2.399 MB / 0.8905 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01094/1.187, allocations: 3.252 MB / 0.8937 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009301/1.197, allocations: 4.123 MB / 0.8977 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004201/1.201, allocations: 1.438 MB / 0.8991 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007666/1.209, allocations: 2.117 MB / 0.9012 GB, free: 13.83 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004095/1.213, allocations: 1.361 MB / 0.9025 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001041/1.214, allocations: 220 kB / 0.9027 GB, free: 12.25 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006162/1.22, allocations: 2.534 MB / 0.9052 GB, free: 9.711 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/1.221, allocations: 0.6778 MB / 0.9058 GB, free: 9.031 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0025/1.224, allocations: 1.058 MB / 0.9069 GB, free: 7.969 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01085/1.235, allocations: 4.089 MB / 0.9109 GB, free: 3.867 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.235, allocations: 4 kB / 0.9109 GB, free: 3.863 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.336e-06/1.235, allocations: 0 / 0.9109 GB, free: 3.863 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001437/1.235, allocations: 4 kB / 0.9109 GB, free: 3.859 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.006802/1.242, allocations: 2.626 MB / 0.9134 GB, free: 1.156 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/1.242, allocations: 8.031 kB / 0.9134 GB, free: 1.148 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/1.244, allocations: 454.4 kB / 0.9139 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/1.248, allocations: 1.664 MB / 0.9155 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/1.248, allocations: 82.06 kB / 0.9156 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/1.248, allocations: 112 kB / 0.9157 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/1.251, allocations: 1.33 MB / 0.917 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/1.251, allocations: 4 kB / 0.917 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.251, allocations: 44 kB / 0.917 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/1.251, allocations: 38.02 kB / 0.9171 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/1.253, allocations: 1.015 MB / 0.9181 GB, free: 12.28 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.006906/1.26, allocations: 5.219 MB / 0.9232 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/1.262, allocations: 0.8663 MB / 0.924 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008337/1.263, allocations: 409.4 kB / 0.9244 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.145e-05/1.263, allocations: 16.61 kB / 0.9244 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/1.264, allocations: 0.5956 MB / 0.925 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=65): time 2.695e-06/1.264, allocations: 0 / 0.925 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of matching and sorting (n=65): time 0.003201/1.267, allocations: 1.146 MB / 0.9261 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/1.268, allocations: 317 kB / 0.9264 GB, free: 3.262 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/1.27, allocations: 1.302 MB / 0.9277 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.27, allocations: 45.7 kB / 0.9277 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007237/1.27, allocations: 0.7093 MB / 0.9284 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/1.271, allocations: 241.9 kB / 0.9287 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003571/1.271, allocations: 202.6 kB / 0.9288 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.271, allocations: 345.9 kB / 0.9292 GB, free: 408 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009892/1.272, allocations: 0.5006 MB / 0.9297 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/1.273, allocations: 0.7469 MB / 0.9304 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/1.276, allocations: 1.119 MB / 0.9315 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.276, allocations: 0 / 0.9315 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003229/1.279, allocations: 1.47 MB / 0.9329 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.293e-05/1.279, allocations: 84 kB / 0.933 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/1.279, allocations: 12 kB / 0.933 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/1.279, allocations: 4 kB / 0.933 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/1.281, allocations: 343.8 kB / 0.9333 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/1.285, allocations: 2.98 MB / 0.9363 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.287, allocations: 131.2 kB / 0.9364 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/1.287, allocations: 47.98 kB / 0.9364 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00183/1.289, allocations: 0.7518 MB / 0.9372 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001205/1.29, allocations: 0.6768 MB / 0.9378 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001821/1.292, allocations: 0.9983 MB / 0.9388 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.941e-06/1.292, allocations: 0 / 0.9388 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.002715/1.295, allocations: 1.329 MB / 0.9401 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.295, allocations: 93 kB / 0.9402 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.295, allocations: 11.98 kB / 0.9402 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.295, allocations: 7.938 kB / 0.9402 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/1.295, allocations: 175.8 kB / 0.9404 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.084e-05/1.296, allocations: 11.94 kB / 0.9404 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.297, allocations: 103.4 kB / 0.9405 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.297, allocations: 47.98 kB / 0.9405 GB, free: 4.125 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.0004968/1.298, allocations: 236.7 kB / 0.9408 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000606/1.298, allocations: 151 kB / 0.9409 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/1.301, allocations: 0.8644 MB / 0.9417 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.301, allocations: 4 kB / 0.9417 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/1.301, allocations: 12 kB / 0.9418 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001704/1.302, allocations: 0.7477 MB / 0.9425 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/1.305, allocations: 1.362 MB / 0.9438 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/1.305, allocations: 0 / 0.9438 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/1.307, allocations: 311.6 kB / 0.9441 GB, free: 340 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/1.307, allocations: 4 kB / 0.9441 GB, free: 336 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.591e-05/1.307, allocations: 19.98 kB / 0.9441 GB, free: 316 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/1.311, allocations: 2.941 MB / 0.947 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.311, allocations: 3.984 kB / 0.947 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/1.314, allocations: 1.281 MB / 0.9483 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009039/1.315, allocations: 312 kB / 0.9486 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004694/1.315, allocations: 19.98 kB / 0.9486 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.317, allocations: 47.95 kB / 0.9486 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/1.317, allocations: 44.48 kB / 0.9487 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.87e-05/1.317, allocations: 32.11 kB / 0.9487 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001974/1.319, allocations: 0.88 MB / 0.9496 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.319, allocations: 0 / 0.9496 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003502/1.322, allocations: 0.8185 MB / 0.9504 GB, free: 9.617 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.001231/1.324, allocations: 362.7 kB / 0.9507 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00581/1.329, allocations: 2.627 MB / 0.9533 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/1.329, allocations: 320 / 0.9533 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002861/1.332, allocations: 0.6198 MB / 0.9539 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/1.336, allocations: 0.7231 MB / 0.9546 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006022/1.342, allocations: 2.733 MB / 0.9572 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/1.344, allocations: 1.304 MB / 0.9585 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001757/1.345, allocations: 339.4 kB / 0.9588 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/1.346, allocations: 111.4 kB / 0.959 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of SimCode: time 1.092e-06/1.346, allocations: 0 / 0.959 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of Templates: time 0.0635/1.409, allocations: 32.3 MB / 0.9905 GB, free: 0.6719 MB / 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)