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.1969/0.1988, allocations: 80.83 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.6923/0.8911, allocations: 159.7 MB / 0.7456 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.9028, allocations: 4.969 MB / 0.7505 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.9044, allocations: 12.59 kB / 0.7505 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.9057, allocations: 225.3 kB / 0.7507 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.908, allocations: 465 kB / 0.7512 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.9103, allocations: 0.5455 MB / 0.7517 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002396/0.9127, allocations: 1.331 MB / 0.753 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005133/0.9133, allocations: 253.7 kB / 0.7532 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.9144, allocations: 426.9 kB / 0.7536 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004983/0.9149, allocations: 332.5 kB / 0.754 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.169e-05/0.915, allocations: 19.62 kB / 0.754 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.9165, allocations: 0.5544 MB / 0.7545 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.9168, allocations: 165 kB / 0.7547 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003528/0.9172, allocations: 224.9 kB / 0.7549 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.9183, allocations: 0.771 MB / 0.7556 GB, free: 12.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9183, allocations: 0 / 0.7556 GB, free: 12.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.52e-07/0.9183, allocations: 0 / 0.7556 GB, free: 12.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.9184, allocations: 0 / 0.7556 GB, free: 12.1 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.001996/0.9204, allocations: 0.8622 MB / 0.7565 GB, free: 11.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.9204, allocations: 10.34 kB / 0.7565 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/0.9209, allocations: 65.23 kB / 0.7566 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006622/0.9215, allocations: 409.9 kB / 0.7569 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.9216, allocations: 24.03 kB / 0.757 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.9216, allocations: 24.62 kB / 0.757 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008609/0.9225, allocations: 360 kB / 0.7573 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.9225, allocations: 2.531 kB / 0.7573 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.9226, allocations: 13.28 kB / 0.7574 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.9226, allocations: 7.188 kB / 0.7574 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007461/0.9233, allocations: 294.5 kB / 0.7576 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.9253, allocations: 1.103 MB / 0.7587 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.9259, allocations: 162.6 kB / 0.7589 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.9261, allocations: 67.12 kB / 0.7589 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.9261, allocations: 5.281 kB / 0.7589 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.9261, allocations: 36.81 kB / 0.759 GB, free: 10.13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.9261, allocations: 0 / 0.759 GB, free: 10.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.001043/0.9272, allocations: 295.9 kB / 0.7593 GB, free: 10.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.9272, allocations: 55.34 kB / 0.7593 GB, free: 9.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006273/0.9279, allocations: 0.5165 MB / 0.7598 GB, free: 9.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.9279, allocations: 32.64 kB / 0.7598 GB, free: 9.734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.9281, allocations: 236.6 kB / 0.7601 GB, free: 9.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.9281, allocations: 31.72 kB / 0.7601 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.276e-05/0.9282, allocations: 42.86 kB / 0.7601 GB, free: 9.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.9284, allocations: 350.2 kB / 0.7605 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.9286, allocations: 87.44 kB / 0.7606 GB, free: 9.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.9289, allocations: 164.2 kB / 0.7607 GB, free: 9.074 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.9293, allocations: 221.8 kB / 0.7609 GB, free: 8.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.9293, allocations: 6.594 kB / 0.7609 GB, free: 8.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005907/0.9299, allocations: 288.6 kB / 0.7612 GB, free: 8.855 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.93, allocations: 5.406 kB / 0.7612 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.93, allocations: 2.781 kB / 0.7612 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.93, allocations: 2.281 kB / 0.7612 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.9315, allocations: 208.1 kB / 0.7614 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.9341, allocations: 1.543 MB / 0.7629 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.9346, allocations: 53.59 kB / 0.763 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.9347, allocations: 4.656 kB / 0.763 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003114/0.935, allocations: 200.8 kB / 0.7632 GB, free: 7.207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002117/0.9352, allocations: 149.6 kB / 0.7633 GB, free: 7.086 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003354/0.9355, allocations: 215.5 kB / 0.7635 GB, free: 6.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.9356, allocations: 0 / 0.7635 GB, free: 6.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004906/0.9361, allocations: 263.4 kB / 0.7638 GB, free: 6.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.9361, allocations: 4.719 kB / 0.7638 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9361, allocations: 10.22 kB / 0.7638 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.9361, allocations: 3 kB / 0.7638 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.9363, allocations: 43.25 kB / 0.7638 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.9363, allocations: 6.75 kB / 0.7638 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.9367, allocations: 34.59 kB / 0.7639 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.9367, allocations: 11.56 kB / 0.7639 GB, free: 6.836 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.0001796/0.9369, allocations: 192.1 kB / 0.7641 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.937, allocations: 43.41 kB / 0.7641 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005433/0.9376, allocations: 223.5 kB / 0.7643 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.9376, allocations: 2.594 kB / 0.7643 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.9376, allocations: 0 / 0.7643 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.9376, allocations: 0 / 0.7643 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.9387, allocations: 0.7347 MB / 0.765 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.9387, allocations: 192 / 0.765 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.94, allocations: 186 kB / 0.7652 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.94, allocations: 6.75 kB / 0.7652 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.94, allocations: 6.375 kB / 0.7652 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.9421, allocations: 1.518 MB / 0.7667 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9422, allocations: 2.531 kB / 0.7667 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.9428, allocations: 346.1 kB / 0.767 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.943, allocations: 149.2 kB / 0.7672 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.9431, allocations: 5.5 kB / 0.7672 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.9435, allocations: 31.66 kB / 0.7672 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.9436, allocations: 12.55 kB / 0.7672 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.9436, allocations: 13.73 kB / 0.7672 GB, free: 4.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004746/0.9441, allocations: 391.4 kB / 0.7676 GB, free: 4.016 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9441, allocations: 2.906 kB / 0.7676 GB, free: 4.016 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007605/0.9449, allocations: 183.1 kB / 0.7678 GB, free: 4 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.0004372/0.9453, allocations: 157.6 kB / 0.7679 GB, free: 3.887 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.9475, allocations: 455.6 kB / 0.7684 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.9475, allocations: 3.125 kB / 0.7684 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002492/0.95, allocations: 392 kB / 0.7688 GB, free: 3.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.9516, allocations: 225.5 kB / 0.769 GB, free: 3.547 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.9536, allocations: 0.9169 MB / 0.7699 GB, free: 2.961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.9543, allocations: 0.8096 MB / 0.7707 GB, free: 2.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005929/0.9549, allocations: 94.91 kB / 0.7707 GB, free: 2.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.955, allocations: 33.44 kB / 0.7708 GB, free: 2.156 MB / 0.545 GB Notification: Performance of SimCode: time 1.863e-06/0.955, allocations: 0 / 0.7708 GB, free: 2.156 MB / 0.545 GB Notification: Performance of Templates: time 0.01817/0.9732, allocations: 8.292 MB / 0.7789 GB, free: 14.14 MB / 0.5606 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)