Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7351/0.7351, allocations: 94.77 MB / 102.2 MB, free: 14.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001185/0.001185, allocations: 168.1 kB / 125.6 MB, free: 7.926 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.752/1.752, allocations: 170.6 MB / 319.4 MB, free: 1.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00171/0.001709, allocations: 111.2 kB / 381.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.975e-05, allocations: 0 / 449.1 MB, free: 44.83 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1505, allocations: 61.52 MB / 0.4987 GB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.395, allocations: 388 MB / 0.8775 GB, free: 31.43 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/1.396, allocations: 88.94 kB / 0.8776 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4921/1.888, allocations: 92.64 MB / 0.9681 GB, free: 175.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.322e-06/1.888, allocations: 0 / 0.9681 GB, free: 175.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.766e-05/1.888, allocations: 7.469 kB / 0.9681 GB, free: 175.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001331/1.889, allocations: 0.6606 MB / 0.9687 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.889, allocations: 7.906 kB / 0.9687 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003756/1.89, allocations: 54.7 kB / 0.9688 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007647/1.89, allocations: 416 kB / 0.9692 GB, free: 174.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.89, allocations: 7.344 kB / 0.9692 GB, free: 174.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/1.891, allocations: 22.12 kB / 0.9692 GB, free: 174.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003181/1.891, allocations: 166.1 kB / 0.9694 GB, free: 174.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/1.891, allocations: 232.3 kB / 0.9696 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.891, allocations: 0 / 0.9696 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/1.891, allocations: 0 / 0.9696 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.891, allocations: 5.406 kB / 0.9696 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/1.893, allocations: 1.242 MB / 0.9708 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/1.894, allocations: 114.8 kB / 0.9709 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.423e-05/1.894, allocations: 36.12 kB / 0.971 GB, free: 173 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/1.894, allocations: 0 / 0.971 GB, free: 173 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/1.894, allocations: 38.48 kB / 0.971 GB, free: 173 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/1.894, allocations: 3.938 kB / 0.971 GB, free: 173 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0004836/1.894, allocations: 137.2 kB / 0.9711 GB, free: 172.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/1.894, allocations: 110.8 kB / 0.9712 GB, free: 172.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/1.895, allocations: 377.8 kB / 0.9716 GB, free: 172.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/1.895, allocations: 25.7 kB / 0.9716 GB, free: 172.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/1.895, allocations: 249.7 kB / 0.9719 GB, free: 172.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/1.895, allocations: 27.02 kB / 0.9719 GB, free: 172.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/1.895, allocations: 0 / 0.9719 GB, free: 172.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/1.895, allocations: 338.2 kB / 0.9722 GB, free: 172 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/1.895, allocations: 44.42 kB / 0.9723 GB, free: 171.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/1.895, allocations: 173 kB / 0.9724 GB, free: 171.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/1.896, allocations: 109.4 kB / 0.9725 GB, free: 171.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.896, allocations: 0 / 0.9725 GB, free: 171.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005961/1.896, allocations: 237.6 kB / 0.9727 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003568/1.897, allocations: 1.231 MB / 0.974 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.897, allocations: 0.5469 kB / 0.974 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.897, allocations: 7.688 kB / 0.974 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/1.897, allocations: 95.45 kB / 0.974 GB, free: 170.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000474/1.898, allocations: 0.6232 MB / 0.9747 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/1.898, allocations: 30.92 kB / 0.9747 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/1.898, allocations: 21.86 kB / 0.9747 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.898, allocations: 3.781 kB / 0.9747 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003569/1.899, allocations: 162.3 kB / 0.9749 GB, free: 169.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.899, allocations: 7.375 kB / 0.9749 GB, free: 169.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.383e-06/1.899, allocations: 3.188 kB / 0.9749 GB, free: 169.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/1.899, allocations: 57.62 kB / 0.9749 GB, free: 169.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/1.899, allocations: 15.11 kB / 0.9749 GB, free: 169.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/1.899, allocations: 26.73 kB / 0.975 GB, free: 169.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/1.899, allocations: 11.16 kB / 0.975 GB, free: 169.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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.0001076/1.899, allocations: 120.6 kB / 0.9751 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/1.899, allocations: 34.09 kB / 0.9751 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/1.9, allocations: 174.6 kB / 0.9753 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.9, allocations: 0 / 0.9753 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/1.9, allocations: 0 / 0.9753 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.9, allocations: 3.984 kB / 0.9753 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/1.901, allocations: 0.5486 MB / 0.9758 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.901, allocations: 3.844 kB / 0.9758 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/1.901, allocations: 65.67 kB / 0.9759 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/1.901, allocations: 4.094 kB / 0.9759 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/1.901, allocations: 7.188 kB / 0.9759 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000317/1.902, allocations: 0.6088 MB / 0.9765 GB, free: 168.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.902, allocations: 3.938 kB / 0.9765 GB, free: 168.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/1.902, allocations: 316.1 kB / 0.9768 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/1.902, allocations: 123.3 kB / 0.9769 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/1.902, allocations: 4.062 kB / 0.9769 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/1.902, allocations: 18.95 kB / 0.977 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/1.903, allocations: 11.17 kB / 0.977 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/1.903, allocations: 7.969 kB / 0.977 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002857/1.903, allocations: 295 kB / 0.9773 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.903, allocations: 0 / 0.9773 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009018/1.904, allocations: 235.3 kB / 0.9775 GB, free: 167.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0008213/1.905, allocations: 340 kB / 0.9778 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009421/1.906, allocations: 268.6 kB / 0.9781 GB, free: 167.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.906, allocations: 4.438 kB / 0.9781 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004163/1.906, allocations: 99.98 kB / 0.9782 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/1.907, allocations: 138.5 kB / 0.9783 GB, free: 167 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007968/1.908, allocations: 370.4 kB / 0.9786 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/1.908, allocations: 0.8024 MB / 0.9794 GB, free: 166 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000487/1.908, allocations: 121 kB / 0.9795 GB, free: 166 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/1.908, allocations: 25.45 kB / 0.9796 GB, free: 166 MB / 0.5261 GB Notification: Performance of SimCode: time 4.1e-07/1.908, allocations: 0 / 0.9796 GB, free: 166 MB / 0.5261 GB Notification: Performance of Templates: time 0.01441/1.923, allocations: 7.312 MB / 0.9867 GB, free: 161.3 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)