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.1978/0.1986, allocations: 82.21 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.6238/0.8225, allocations: 157.6 MB / 0.748 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008554/0.8311, allocations: 4.904 MB / 0.7528 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005976/0.8318, allocations: 12.16 kB / 0.7528 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009996/0.8328, allocations: 224.7 kB / 0.7531 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.8343, allocations: 468.5 kB / 0.7535 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.8359, allocations: 0.5404 MB / 0.754 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.8376, allocations: 1.328 MB / 0.7553 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.838, allocations: 256.9 kB / 0.7556 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008171/0.8388, allocations: 414.7 kB / 0.756 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.8393, allocations: 331.2 kB / 0.7563 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.8393, allocations: 21.09 kB / 0.7563 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009409/0.8403, allocations: 0.5525 MB / 0.7568 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.8405, allocations: 158.3 kB / 0.757 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.8408, allocations: 259.2 kB / 0.7572 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008185/0.8416, allocations: 0.7581 MB / 0.758 GB, free: 12.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.8416, allocations: 0 / 0.758 GB, free: 12.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8416, allocations: 0 / 0.758 GB, free: 12.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.8416, allocations: 0 / 0.758 GB, free: 12.35 MB / 0.545 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.001539/0.8432, allocations: 0.772 MB / 0.7587 GB, free: 11.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.8432, allocations: 8 kB / 0.7587 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.8435, allocations: 64.92 kB / 0.7588 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.8441, allocations: 402.7 kB / 0.7592 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.8441, allocations: 28.8 kB / 0.7592 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.8442, allocations: 30.38 kB / 0.7592 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.845, allocations: 375.1 kB / 0.7596 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.845, allocations: 0 / 0.7596 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.8451, allocations: 14.28 kB / 0.7596 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.8451, allocations: 10.34 kB / 0.7596 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000719/0.8458, allocations: 318 kB / 0.7599 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.8475, allocations: 1.093 MB / 0.761 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.8481, allocations: 175.5 kB / 0.7612 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.8483, allocations: 74.08 kB / 0.7612 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.8483, allocations: 7.875 kB / 0.7612 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.8483, allocations: 37.28 kB / 0.7613 GB, free: 10.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.8483, allocations: 0 / 0.7613 GB, free: 10.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0009849/0.8493, allocations: 335 kB / 0.7616 GB, free: 10.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.8494, allocations: 57.72 kB / 0.7617 GB, free: 10.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.85, allocations: 0.5184 MB / 0.7622 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.85, allocations: 32.11 kB / 0.7622 GB, free: 9.996 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.8502, allocations: 244.3 kB / 0.7624 GB, free: 9.852 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.8502, allocations: 32.17 kB / 0.7625 GB, free: 9.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.8503, allocations: 16.38 kB / 0.7625 GB, free: 9.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8504, allocations: 351.7 kB / 0.7628 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.8506, allocations: 83.44 kB / 0.7629 GB, free: 9.473 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.8509, allocations: 176.7 kB / 0.7631 GB, free: 9.352 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.8513, allocations: 236.4 kB / 0.7633 GB, free: 9.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8513, allocations: 2.562 kB / 0.7633 GB, free: 9.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005612/0.8519, allocations: 310.6 kB / 0.7636 GB, free: 9.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/0.852, allocations: 148.7 kB / 0.7637 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.852, allocations: 2.781 kB / 0.7637 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.852, allocations: 2.625 kB / 0.7637 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.8535, allocations: 267.4 kB / 0.764 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.8558, allocations: 1.631 MB / 0.7656 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/0.8562, allocations: 52.41 kB / 0.7656 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.8562, allocations: 5.469 kB / 0.7656 GB, free: 7.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.8563, allocations: 9.719 kB / 0.7656 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003874/0.8567, allocations: 208.5 kB / 0.7658 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.8567, allocations: 2.812 kB / 0.7658 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-06/0.8567, allocations: 1.969 kB / 0.7658 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.8569, allocations: 56.12 kB / 0.7659 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.8569, allocations: 4.875 kB / 0.7659 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.8572, allocations: 47.06 kB / 0.7659 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.8572, allocations: 8.719 kB / 0.7659 GB, free: 7.32 MB / 0.545 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.0002341/0.8575, allocations: 251.2 kB / 0.7662 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.8575, allocations: 41.25 kB / 0.7662 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005156/0.8581, allocations: 241.9 kB / 0.7665 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.8581, allocations: 0 / 0.7665 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.8581, allocations: 7.391 kB / 0.7665 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.8581, allocations: 7.969 kB / 0.7665 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.8592, allocations: 0.7533 MB / 0.7672 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.8592, allocations: 3.125 kB / 0.7672 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.8604, allocations: 242 kB / 0.7674 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8604, allocations: 2.688 kB / 0.7674 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.8604, allocations: 3.125 kB / 0.7674 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.8625, allocations: 1.582 MB / 0.769 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.8626, allocations: 8.609 kB / 0.769 GB, free: 4.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.8632, allocations: 369.5 kB / 0.7694 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.8634, allocations: 150.6 kB / 0.7695 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.8634, allocations: 6.938 kB / 0.7695 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.8638, allocations: 30.56 kB / 0.7695 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.8639, allocations: 25.64 kB / 0.7696 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.864, allocations: 11.89 kB / 0.7696 GB, free: 4.586 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004071/0.8644, allocations: 383.5 kB / 0.7699 GB, free: 4.457 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8644, allocations: 0 / 0.7699 GB, free: 4.457 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006687/0.865, allocations: 193 kB / 0.7701 GB, free: 4.434 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 (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.0003766/0.8654, allocations: 148.2 kB / 0.7703 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002034/0.8675, allocations: 0.5336 MB / 0.7708 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.8675, allocations: 2.938 kB / 0.7708 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002417/0.8699, allocations: 488.3 kB / 0.7712 GB, free: 4.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.8714, allocations: 218.8 kB / 0.7715 GB, free: 3.973 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.8732, allocations: 0.9841 MB / 0.7724 GB, free: 3.352 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.8736, allocations: 0.8145 MB / 0.7732 GB, free: 2.598 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003919/0.874, allocations: 92.61 kB / 0.7733 GB, free: 2.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.8741, allocations: 33.14 kB / 0.7733 GB, free: 2.547 MB / 0.545 GB Notification: Performance of SimCode: time 1.242e-06/0.8741, allocations: 2.906 kB / 0.7733 GB, free: 2.547 MB / 0.545 GB Notification: Performance of Templates: time 0.01507/0.8892, allocations: 8.239 MB / 0.7814 GB, free: 14.55 MB / 0.5606 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: