Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper") [/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.4547/0.4558, allocations: 82.21 MB / 0.5935 GB, free: 21.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.1659/0.6217, allocations: 147.1 MB / 0.7371 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008044/0.6298, allocations: 4.347 MB / 0.7413 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007919/0.6307, allocations: 7.938 kB / 0.7413 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000814/0.6315, allocations: 170.9 kB / 0.7415 GB, free: 13.72 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001355/0.6329, allocations: 418 kB / 0.7419 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.6344, allocations: 470 kB / 0.7424 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.6356, allocations: 1.134 MB / 0.7435 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.636, allocations: 240.6 kB / 0.7437 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007717/0.6368, allocations: 418.3 kB / 0.7441 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004213/0.6373, allocations: 314.8 kB / 0.7444 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.6373, allocations: 20 kB / 0.7444 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008503/0.6382, allocations: 483.2 kB / 0.7449 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.6384, allocations: 159.5 kB / 0.745 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.6385, allocations: 105.5 kB / 0.7451 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006438/0.6391, allocations: 0.5845 MB / 0.7457 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6392, allocations: 0 / 0.7457 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6392, allocations: 4 kB / 0.7457 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.6392, allocations: 0 / 0.7457 GB, free: 9.418 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001496/0.6407, allocations: 0.7612 MB / 0.7464 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.6407, allocations: 8.031 kB / 0.7464 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.641, allocations: 63.42 kB / 0.7465 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.6416, allocations: 407.2 kB / 0.7469 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.6416, allocations: 24.52 kB / 0.7469 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.6417, allocations: 24 kB / 0.7469 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/0.6425, allocations: 372.7 kB / 0.7473 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.6425, allocations: 0 / 0.7473 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.6426, allocations: 19.94 kB / 0.7473 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.6426, allocations: 8 kB / 0.7473 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.6433, allocations: 314 kB / 0.7476 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.6451, allocations: 1.098 MB / 0.7487 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.6457, allocations: 166.5 kB / 0.7489 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.6459, allocations: 76.88 kB / 0.7489 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.6459, allocations: 0 / 0.7489 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.6459, allocations: 42.52 kB / 0.749 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 9.81e-07/0.646, allocations: 0 / 0.749 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0009676/0.6469, allocations: 328.9 kB / 0.7493 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.647, allocations: 63.41 kB / 0.7493 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.6476, allocations: 0.5097 MB / 0.7498 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.6477, allocations: 29.7 kB / 0.7499 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.6479, allocations: 235.7 kB / 0.7501 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.6479, allocations: 39.53 kB / 0.7501 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.6479, allocations: 0 / 0.7501 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.6481, allocations: 350.8 kB / 0.7505 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.6483, allocations: 87.94 kB / 0.7505 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.6486, allocations: 170.2 kB / 0.7507 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.6488, allocations: 107.9 kB / 0.7508 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6489, allocations: 3.953 kB / 0.7508 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006694/0.6495, allocations: 304.9 kB / 0.7511 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.6496, allocations: 146.4 kB / 0.7512 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6497, allocations: 8 kB / 0.7513 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.6497, allocations: 3.938 kB / 0.7513 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.6511, allocations: 275.7 kB / 0.7515 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.6534, allocations: 1.626 MB / 0.7531 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.6538, allocations: 59.7 kB / 0.7532 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.6538, allocations: 7.984 kB / 0.7532 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.6539, allocations: 7.953 kB / 0.7532 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003778/0.6542, allocations: 207.7 kB / 0.7534 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.6543, allocations: 4.312 kB / 0.7534 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.6543, allocations: 4 kB / 0.7534 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.6545, allocations: 43.97 kB / 0.7534 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.6545, allocations: 4 kB / 0.7534 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.6548, allocations: 55.73 kB / 0.7535 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.6548, allocations: 4 kB / 0.7535 GB, free: 0.9688 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002297/0.655, allocations: 241.1 kB / 0.7537 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.6551, allocations: 43.48 kB / 0.7538 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.6556, allocations: 241 kB / 0.754 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6556, allocations: 4 kB / 0.754 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.6556, allocations: 4 kB / 0.754 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.6557, allocations: 0 / 0.754 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3803/1.036, allocations: 0.7482 MB / 0.7547 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.036, allocations: 0.9375 kB / 0.7547 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.037, allocations: 240.7 kB / 0.755 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/1.037, allocations: 3 kB / 0.755 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/1.037, allocations: 4.484 kB / 0.755 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/1.039, allocations: 1.595 MB / 0.7565 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.039, allocations: 2.062 kB / 0.7565 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007683/1.04, allocations: 364.3 kB / 0.7569 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/1.04, allocations: 155.6 kB / 0.757 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/1.04, allocations: 3.984 kB / 0.757 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/1.041, allocations: 31.61 kB / 0.7571 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/1.041, allocations: 19.73 kB / 0.7571 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/1.041, allocations: 17.28 kB / 0.7571 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006032/1.042, allocations: 383.8 kB / 0.7575 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.042, allocations: 0 / 0.7575 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007728/1.042, allocations: 184.7 kB / 0.7576 GB, free: 159.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003756/1.043, allocations: 155 kB / 0.7578 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002084/1.045, allocations: 0.5293 MB / 0.7583 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.045, allocations: 1 kB / 0.7583 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/1.047, allocations: 484.4 kB / 0.7588 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/1.049, allocations: 227.5 kB / 0.759 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/1.051, allocations: 0.9402 MB / 0.7599 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/1.051, allocations: 0.8198 MB / 0.7607 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004878/1.052, allocations: 90.11 kB / 0.7608 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/1.052, allocations: 32.03 kB / 0.7608 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/1.052, allocations: 3.828 kB / 0.7608 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01429/1.066, allocations: 7.978 MB / 0.7686 GB, free: 154.1 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1) Environment - environmentSimulation: