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.2288/0.2308, allocations: 80.83 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.8013/1.032, allocations: 162 MB / 0.8288 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00906/1.041, allocations: 4.544 MB / 0.8332 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007391/1.042, allocations: 12.38 kB / 0.8332 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009921/1.043, allocations: 258.6 kB / 0.8335 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/1.045, allocations: 0.4937 MB / 0.834 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/1.046, allocations: 0.6013 MB / 0.8345 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001373/1.048, allocations: 0.9989 MB / 0.8355 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004408/1.048, allocations: 306.1 kB / 0.8358 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008694/1.049, allocations: 480 kB / 0.8363 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004451/1.05, allocations: 322.8 kB / 0.8366 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/1.05, allocations: 39.94 kB / 0.8366 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/1.051, allocations: 0.5498 MB / 0.8372 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002087/1.051, allocations: 184 kB / 0.8373 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002736/1.051, allocations: 253.6 kB / 0.8376 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/1.052, allocations: 0.7855 MB / 0.8383 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.052, allocations: 2.312 kB / 0.8383 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.275e-06/1.052, allocations: 0 / 0.8383 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.291e-05/1.052, allocations: 3.984 kB / 0.8383 GB, free: 8.766 MB / 0.6075 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.001902/1.054, allocations: 0.8444 MB / 0.8392 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.054, allocations: 10.19 kB / 0.8392 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/1.055, allocations: 64.05 kB / 0.8392 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/1.055, allocations: 426.3 kB / 0.8396 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/1.055, allocations: 29.59 kB / 0.8397 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/1.055, allocations: 25.47 kB / 0.8397 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008573/1.056, allocations: 358.8 kB / 0.84 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/1.056, allocations: 3.938 kB / 0.84 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/1.056, allocations: 13.59 kB / 0.8401 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/1.056, allocations: 4.875 kB / 0.8401 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007558/1.057, allocations: 300.7 kB / 0.8403 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/1.059, allocations: 1.091 MB / 0.8414 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/1.06, allocations: 156.2 kB / 0.8416 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/1.06, allocations: 71.88 kB / 0.8416 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/1.06, allocations: 0 / 0.8416 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.06, allocations: 36.72 kB / 0.8417 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 4.378e-06/1.06, allocations: 2.906 kB / 0.8417 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.00106/1.061, allocations: 296.3 kB / 0.842 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/1.061, allocations: 61.81 kB / 0.842 GB, free: 6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/1.062, allocations: 0.5195 MB / 0.8425 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/1.062, allocations: 28.48 kB / 0.8425 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/1.062, allocations: 234.2 kB / 0.8428 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/1.062, allocations: 32.36 kB / 0.8428 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-05/1.062, allocations: 40.97 kB / 0.8428 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.062, allocations: 348.3 kB / 0.8432 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/1.063, allocations: 88.12 kB / 0.8433 GB, free: 5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/1.063, allocations: 162.5 kB / 0.8434 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/1.063, allocations: 223.6 kB / 0.8436 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.063, allocations: 2.344 kB / 0.8436 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006007/1.064, allocations: 286.7 kB / 0.8439 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.064, allocations: 5.188 kB / 0.8439 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/1.064, allocations: 2.562 kB / 0.8439 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/1.064, allocations: 4.875 kB / 0.8439 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/1.065, allocations: 205 kB / 0.8441 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/1.068, allocations: 1.661 MB / 0.8457 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/1.068, allocations: 45.61 kB / 0.8458 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/1.068, allocations: 9.969 kB / 0.8458 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002942/1.069, allocations: 198.2 kB / 0.846 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002164/1.069, allocations: 152 kB / 0.8461 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003348/1.069, allocations: 207.4 kB / 0.8463 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/1.069, allocations: 0 / 0.8463 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004741/1.07, allocations: 270.3 kB / 0.8466 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.07, allocations: 7.781 kB / 0.8466 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-06/1.07, allocations: 1.562 kB / 0.8466 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/1.07, allocations: 4.875 kB / 0.8466 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/1.07, allocations: 47.22 kB / 0.8466 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/1.07, allocations: 7 kB / 0.8466 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/1.07, allocations: 24.64 kB / 0.8467 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/1.07, allocations: 11.44 kB / 0.8467 GB, free: 2.211 MB / 0.6075 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 (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001633/1.071, allocations: 198.8 kB / 0.8469 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.474e-05/1.071, allocations: 45.75 kB / 0.8469 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005152/1.071, allocations: 217.9 kB / 0.8471 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.071, allocations: 0 / 0.8471 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/1.071, allocations: 2.781 kB / 0.8471 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.071, allocations: 3.984 kB / 0.8471 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.072, allocations: 0.7373 MB / 0.8478 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.072, allocations: 0 / 0.8478 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.074, allocations: 182.6 kB / 0.848 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.074, allocations: 1.844 kB / 0.848 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/1.074, allocations: 3.312 kB / 0.848 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/1.076, allocations: 1.628 MB / 0.8496 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.076, allocations: 0 / 0.8496 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/1.076, allocations: 349.5 kB / 0.8499 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/1.077, allocations: 151.5 kB / 0.8501 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/1.077, allocations: 6.812 kB / 0.8501 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/1.077, allocations: 24.47 kB / 0.8501 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/1.077, allocations: 23.27 kB / 0.8501 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/1.077, allocations: 11.77 kB / 0.8501 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004673/1.078, allocations: 390.7 kB / 0.8505 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/1.078, allocations: 0 / 0.8505 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007067/1.078, allocations: 188.6 kB / 0.8507 GB, free: 14.87 MB / 0.6231 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 (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004306/1.079, allocations: 167 kB / 0.8509 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001966/1.081, allocations: 457.8 kB / 0.8513 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.081, allocations: 0 / 0.8513 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002308/1.083, allocations: 386.6 kB / 0.8517 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/1.084, allocations: 221.5 kB / 0.8519 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/1.086, allocations: 0.7924 MB / 0.8526 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/1.086, allocations: 0.8145 MB / 0.8534 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003548/1.087, allocations: 91.19 kB / 0.8535 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.094e-05/1.087, allocations: 30.03 kB / 0.8536 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of SimCode: time 7.12e-07/1.087, allocations: 0 / 0.8536 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of Templates: time 0.01546/1.102, allocations: 8.629 MB / 0.862 GB, free: 5.379 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (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)