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.4654/0.469, allocations: 80.82 MB / 0.5904 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.7304/1.199, allocations: 205.6 MB / 0.7912 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02526/1.225, allocations: 16.03 MB / 0.8069 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003782/1.229, allocations: 60.69 kB / 0.8069 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003788/1.233, allocations: 1.023 MB / 0.8079 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00968/1.242, allocations: 2.395 MB / 0.8103 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01028/1.253, allocations: 3.258 MB / 0.8135 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008721/1.261, allocations: 4.114 MB / 0.8175 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/1.265, allocations: 1.431 MB / 0.8189 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00648/1.272, allocations: 2.123 MB / 0.8209 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003637/1.275, allocations: 1.374 MB / 0.8223 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006045/1.276, allocations: 214.7 kB / 0.8225 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006374/1.282, allocations: 2.525 MB / 0.825 GB, free: 116 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001112/1.284, allocations: 0.6757 MB / 0.8256 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001794/1.285, allocations: 1.056 MB / 0.8267 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007626/1.293, allocations: 4.042 MB / 0.8306 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.293, allocations: 0.875 kB / 0.8306 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.893e-06/1.293, allocations: 2.531 kB / 0.8306 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.223e-05/1.293, allocations: 0 / 0.8306 GB, free: 13.44 MB / 0.5919 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.006002/1.299, allocations: 2.56 MB / 0.8331 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.299, allocations: 10.12 kB / 0.8331 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/1.302, allocations: 447.4 kB / 0.8335 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/1.305, allocations: 1.592 MB / 0.8351 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-05/1.305, allocations: 87.28 kB / 0.8352 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/1.305, allocations: 108.9 kB / 0.8353 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/1.309, allocations: 1.334 MB / 0.8366 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/1.309, allocations: 5.312 kB / 0.8366 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/1.309, allocations: 44.84 kB / 0.8366 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.08e-05/1.309, allocations: 35.45 kB / 0.8367 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/1.311, allocations: 1.007 MB / 0.8376 GB, free: 8.824 MB / 0.5919 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.008171/1.319, allocations: 5.253 MB / 0.8428 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/1.322, allocations: 0.8601 MB / 0.8436 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008179/1.323, allocations: 406.2 kB / 0.844 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/1.323, allocations: 14.31 kB / 0.844 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/1.324, allocations: 0.5942 MB / 0.8446 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=65): time 2.285e-06/1.324, allocations: 0 / 0.8446 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65): time 0.00333/1.327, allocations: 1.136 MB / 0.8457 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/1.328, allocations: 321 kB / 0.846 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/1.329, allocations: 1.293 MB / 0.8473 GB, free: 88 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/1.33, allocations: 45.7 kB / 0.8473 GB, free: 36 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007062/1.33, allocations: 0.7135 MB / 0.848 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/1.33, allocations: 223.9 kB / 0.8482 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/1.331, allocations: 206.5 kB / 0.8484 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.331, allocations: 341.9 kB / 0.8488 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/1.332, allocations: 0.4967 MB / 0.8492 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/1.333, allocations: 0.7456 MB / 0.85 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/1.335, allocations: 1.116 MB / 0.8511 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/1.336, allocations: 0 / 0.8511 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002819/1.338, allocations: 1.472 MB / 0.8525 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.527e-05/1.338, allocations: 87.38 kB / 0.8526 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/1.338, allocations: 7.984 kB / 0.8526 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/1.338, allocations: 8 kB / 0.8526 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/1.341, allocations: 342 kB / 0.8529 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003935/1.345, allocations: 2.976 MB / 0.8558 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/1.346, allocations: 127.7 kB / 0.8559 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-05/1.346, allocations: 51.98 kB / 0.856 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001316/1.348, allocations: 0.7479 MB / 0.8567 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009744/1.349, allocations: 0.6897 MB / 0.8574 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001492/1.35, allocations: 0.9876 MB / 0.8584 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/1.35, allocations: 4 kB / 0.8584 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.002252/1.352, allocations: 1.323 MB / 0.8597 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.191e-05/1.352, allocations: 91.47 kB / 0.8597 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.352, allocations: 4 kB / 0.8598 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/1.352, allocations: 8 kB / 0.8598 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000741/1.353, allocations: 174 kB / 0.8599 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/1.353, allocations: 14.61 kB / 0.8599 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.354, allocations: 107.2 kB / 0.86 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/1.355, allocations: 44 kB / 0.8601 GB, free: 2.406 MB / 0.6075 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.0004495/1.355, allocations: 238.3 kB / 0.8603 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/1.355, allocations: 146.2 kB / 0.8605 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/1.358, allocations: 0.8513 MB / 0.8613 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.358, allocations: 15.98 kB / 0.8613 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/1.358, allocations: 0 / 0.8613 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001678/1.359, allocations: 0.758 MB / 0.862 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/1.362, allocations: 1.351 MB / 0.8634 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/1.362, allocations: 0 / 0.8634 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/1.364, allocations: 315.3 kB / 0.8637 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/1.364, allocations: 0 / 0.8637 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/1.364, allocations: 23.98 kB / 0.8637 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/1.368, allocations: 2.949 MB / 0.8666 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.368, allocations: 0 / 0.8666 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003045/1.371, allocations: 1.275 MB / 0.8678 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007837/1.371, allocations: 307.1 kB / 0.8681 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/1.372, allocations: 16 kB / 0.8681 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009918/1.373, allocations: 51.94 kB / 0.8682 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/1.373, allocations: 56.38 kB / 0.8682 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/1.373, allocations: 23.98 kB / 0.8682 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0018/1.375, allocations: 0.8722 MB / 0.8691 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/1.375, allocations: 0 / 0.8691 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003568/1.378, allocations: 0.8067 MB / 0.8699 GB, free: 7.996 MB / 0.6231 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.001492/1.38, allocations: 360.3 kB / 0.8702 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006667/1.387, allocations: 2.715 MB / 0.8729 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.387, allocations: 4 kB / 0.8729 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002807/1.389, allocations: 0.6191 MB / 0.8735 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/1.393, allocations: 0.7248 MB / 0.8742 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006065/1.399, allocations: 2.712 MB / 0.8768 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/1.401, allocations: 1.308 MB / 0.8781 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001861/1.402, allocations: 339.3 kB / 0.8784 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/1.403, allocations: 111.4 kB / 0.8785 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of SimCode: time 1.222e-06/1.403, allocations: 0 / 0.8785 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of Templates: time 0.06533/1.468, allocations: 32.14 MB / 0.9099 GB, free: 15.43 MB / 0.67 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)