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.1878/0.1885, allocations: 82.2 MB / 0.5934 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.5355/0.7241, allocations: 136 MB / 0.7262 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006791/0.7309, allocations: 4.345 MB / 0.7304 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004975/0.7314, allocations: 8.625 kB / 0.7304 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008397/0.7323, allocations: 229.2 kB / 0.7306 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.7336, allocations: 479.1 kB / 0.7311 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.7375, allocations: 1.331 MB / 0.7324 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00092/0.7385, allocations: 0.5567 MB / 0.7329 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003892/0.7389, allocations: 252.6 kB / 0.7332 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008476/0.7397, allocations: 426.7 kB / 0.7336 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.7401, allocations: 223.2 kB / 0.7338 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.996e-05/0.7401, allocations: 20 kB / 0.7338 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005969/0.7407, allocations: 287.6 kB / 0.7341 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.7409, allocations: 147.6 kB / 0.7342 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.741, allocations: 109.5 kB / 0.7343 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.7416, allocations: 0.5278 MB / 0.7349 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.7416, allocations: 0 / 0.7349 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7416, allocations: 0 / 0.7349 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.7416, allocations: 4 kB / 0.7349 GB, free: 11.26 MB / 0.5294 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.001538/0.7432, allocations: 0.7535 MB / 0.7356 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7432, allocations: 15.91 kB / 0.7356 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.7435, allocations: 63.42 kB / 0.7357 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.7442, allocations: 395.4 kB / 0.7361 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.7442, allocations: 29.2 kB / 0.7361 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.7443, allocations: 24 kB / 0.7361 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007973/0.7451, allocations: 368.7 kB / 0.7365 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.7451, allocations: 0 / 0.7365 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.7451, allocations: 12 kB / 0.7365 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.7452, allocations: 8 kB / 0.7365 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007188/0.7459, allocations: 318 kB / 0.7368 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.7477, allocations: 1.098 MB / 0.7378 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/0.7483, allocations: 174.5 kB / 0.738 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.7483, allocations: 0 / 0.738 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.7483, allocations: 45.27 kB / 0.7381 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.7483, allocations: 0 / 0.7381 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0009995/0.7493, allocations: 333 kB / 0.7384 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.7494, allocations: 55.41 kB / 0.7384 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/0.75, allocations: 0.5136 MB / 0.7389 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.7501, allocations: 29.7 kB / 0.739 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.7503, allocations: 239.7 kB / 0.7392 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.7503, allocations: 35.53 kB / 0.7392 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.7503, allocations: 4 kB / 0.7392 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.7506, allocations: 346.8 kB / 0.7396 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.7508, allocations: 87.94 kB / 0.7396 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.7511, allocations: 173.8 kB / 0.7398 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.7513, allocations: 107.9 kB / 0.7399 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.7513, allocations: 4 kB / 0.7399 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005949/0.7519, allocations: 300.9 kB / 0.7402 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004223/0.7524, allocations: 0.7939 MB / 0.741 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7524, allocations: 0 / 0.741 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.7524, allocations: 4 kB / 0.741 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.7539, allocations: 272.1 kB / 0.7412 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.7565, allocations: 1.651 MB / 0.7429 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.7569, allocations: 59.59 kB / 0.7429 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.7569, allocations: 4.188 kB / 0.7429 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.757, allocations: 12.56 kB / 0.7429 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003852/0.7573, allocations: 207.6 kB / 0.7431 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.7574, allocations: 192 / 0.7431 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-06/0.7574, allocations: 8 kB / 0.7431 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.7576, allocations: 43.97 kB / 0.7432 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.7576, allocations: 7.938 kB / 0.7432 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.7579, allocations: 43.67 kB / 0.7432 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.7579, allocations: 8 kB / 0.7432 GB, free: 2.223 MB / 0.5294 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.0002735/0.7582, allocations: 253 kB / 0.7435 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/0.7583, allocations: 39.53 kB / 0.7435 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005876/0.7589, allocations: 241 kB / 0.7437 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.7589, allocations: 0 / 0.7437 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.52e-07/0.7589, allocations: 0 / 0.7437 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.7589, allocations: 0 / 0.7437 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.7601, allocations: 0.7567 MB / 0.7445 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7601, allocations: 4 kB / 0.7445 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.7613, allocations: 247.8 kB / 0.7447 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.7613, allocations: 0 / 0.7447 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.7613, allocations: 4 kB / 0.7447 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.7635, allocations: 1.614 MB / 0.7463 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.7635, allocations: 4.156 kB / 0.7463 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.7641, allocations: 438.5 kB / 0.7467 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.7643, allocations: 152.6 kB / 0.7469 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.7644, allocations: 4 kB / 0.7469 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.7648, allocations: 36 kB / 0.7469 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.7649, allocations: 19.92 kB / 0.7469 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.7649, allocations: 11.98 kB / 0.7469 GB, free: 14.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004404/0.7654, allocations: 387.1 kB / 0.7473 GB, free: 13.74 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7654, allocations: 3.938 kB / 0.7473 GB, free: 13.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006655/0.766, allocations: 187.7 kB / 0.7475 GB, free: 13.55 MB / 0.545 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.0003879/0.7664, allocations: 157.8 kB / 0.7476 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.7685, allocations: 0.527 MB / 0.7481 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7685, allocations: 384 / 0.7481 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002349/0.7708, allocations: 479.8 kB / 0.7486 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.772, allocations: 221.4 kB / 0.7488 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.7737, allocations: 0.9408 MB / 0.7497 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.7742, allocations: 0.8271 MB / 0.7505 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000365/0.7745, allocations: 95.19 kB / 0.7506 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.7746, allocations: 35.38 kB / 0.7507 GB, free: 10.23 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/0.7746, allocations: 0 / 0.7507 GB, free: 10.23 MB / 0.545 GB Notification: Performance of Templates: time 0.01406/0.7887, allocations: 7.965 MB / 0.7584 GB, free: 2.379 MB / 0.545 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: