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.5834/0.5834, allocations: 94.69 MB / 107.3 MB, free: 5.184 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.00121/0.00121, allocations: 176.7 kB / 130.7 MB, free: 7.551 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.647/1.647, allocations: 170.5 MB / 324.5 MB, free: 4.008 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001713/0.001713, allocations: 117.8 kB / 386.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.583e-05, allocations: 3.984 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.488, allocations: 61.51 MB / 0.5054 GB, free: 49.71 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8638/1.352, allocations: 388.3 MB / 0.8845 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.352, allocations: 92.47 kB / 0.8846 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5685/1.921, allocations: 93.32 MB / 0.9758 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.988e-06/1.921, allocations: 7.984 kB / 0.9758 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.597e-05/1.921, allocations: 8 kB / 0.9758 GB, free: 135.1 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.001141/1.922, allocations: 0.6614 MB / 0.9764 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.922, allocations: 8.031 kB / 0.9764 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/1.922, allocations: 55.52 kB / 0.9765 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/1.923, allocations: 412.7 kB / 0.9769 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/1.923, allocations: 28.39 kB / 0.9769 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/1.923, allocations: 16 kB / 0.9769 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/1.923, allocations: 272.3 kB / 0.9772 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.923, allocations: 7.922 kB / 0.9772 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/1.924, allocations: 12 kB / 0.9772 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/1.924, allocations: 4 kB / 0.9772 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/1.924, allocations: 177 kB / 0.9774 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/1.925, allocations: 1.305 MB / 0.9786 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/1.926, allocations: 122.5 kB / 0.9788 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/1.926, allocations: 32.84 kB / 0.9788 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/1.926, allocations: 0 / 0.9788 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/1.926, allocations: 38.56 kB / 0.9788 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/1.926, allocations: 0 / 0.9788 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0003779/1.927, allocations: 145.1 kB / 0.979 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/1.927, allocations: 110.8 kB / 0.9791 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/1.927, allocations: 439.2 kB / 0.9795 GB, free: 131 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/1.927, allocations: 33.64 kB / 0.9795 GB, free: 131 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/1.927, allocations: 243.3 kB / 0.9798 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/1.927, allocations: 27.64 kB / 0.9798 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-06/1.927, allocations: 0 / 0.9798 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/1.927, allocations: 346.8 kB / 0.9801 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/1.927, allocations: 48.36 kB / 0.9802 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/1.927, allocations: 169.6 kB / 0.9803 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/1.928, allocations: 83.92 kB / 0.9804 GB, free: 130 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.928, allocations: 0 / 0.9804 GB, free: 130 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003228/1.928, allocations: 240.8 kB / 0.9806 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002832/1.928, allocations: 1.221 MB / 0.9818 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.928, allocations: 4 kB / 0.9818 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.928, allocations: 4 kB / 0.9818 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/1.929, allocations: 91.86 kB / 0.9819 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003033/1.929, allocations: 0.6131 MB / 0.9825 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/1.93, allocations: 51.77 kB / 0.9826 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/1.93, allocations: 8 kB / 0.9826 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/1.93, allocations: 7.938 kB / 0.9826 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002608/1.93, allocations: 183.9 kB / 0.9828 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/1.93, allocations: 4 kB / 0.9828 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/1.93, allocations: 4 kB / 0.9828 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/1.93, allocations: 55.89 kB / 0.9828 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/1.93, allocations: 4 kB / 0.9828 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/1.93, allocations: 39.95 kB / 0.9829 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/1.93, allocations: 15.95 kB / 0.9829 GB, free: 127.3 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 9.317e-05/1.931, allocations: 120.6 kB / 0.983 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/1.931, allocations: 47.44 kB / 0.983 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/1.931, allocations: 153.2 kB / 0.9832 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.931, allocations: 0 / 0.9832 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.931, allocations: 3.984 kB / 0.9832 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.931, allocations: 4 kB / 0.9832 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/1.931, allocations: 0.5546 MB / 0.9837 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.932, allocations: 4.125 kB / 0.9837 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/1.932, allocations: 63.92 kB / 0.9838 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.932, allocations: 4.062 kB / 0.9838 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/1.932, allocations: 4 kB / 0.9838 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002027/1.932, allocations: 0.6014 MB / 0.9844 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.932, allocations: 0 / 0.9844 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/1.932, allocations: 276.3 kB / 0.9847 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/1.932, allocations: 124.6 kB / 0.9848 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/1.933, allocations: 7.938 kB / 0.9848 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/1.933, allocations: 11.98 kB / 0.9848 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/1.933, allocations: 19.98 kB / 0.9848 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/1.933, allocations: 7.984 kB / 0.9848 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003252/1.933, allocations: 345.2 kB / 0.9851 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.933, allocations: 4 kB / 0.9852 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007954/1.934, allocations: 231.7 kB / 0.9854 GB, free: 124.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0006011/1.935, allocations: 326.6 kB / 0.9857 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008364/1.935, allocations: 283.4 kB / 0.986 GB, free: 124 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.936, allocations: 8.312 kB / 0.986 GB, free: 124 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/1.936, allocations: 103.9 kB / 0.9861 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000837/1.937, allocations: 175.1 kB / 0.9862 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/1.937, allocations: 379 kB / 0.9866 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/1.938, allocations: 0.812 MB / 0.9874 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004422/1.938, allocations: 127.5 kB / 0.9875 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/1.938, allocations: 31.42 kB / 0.9875 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/1.938, allocations: 0 / 0.9875 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.01383/1.952, allocations: 9.44 MB / 0.9968 GB, free: 113 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)