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.5985/0.5985, allocations: 95.62 MB / 110.6 MB, free: 9.363 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.002199/0.002199, allocations: 173.9 kB / 134.2 MB, free: 2.27 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.344/1.344, allocations: 170.7 MB / 328.4 MB, free: 12.29 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.001585/0.001585, allocations: 116.8 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003705, allocations: 15.98 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.132, allocations: 61.53 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.181, allocations: 388.3 MB / 0.8912 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.182, allocations: 94.33 kB / 0.8913 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4917/1.673, allocations: 93.64 MB / 0.9828 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.944e-06/1.673, allocations: 0 / 0.9828 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.538e-05/1.673, allocations: 11.84 kB / 0.9828 GB, free: 165.2 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.001483/1.675, allocations: 0.755 MB / 0.9835 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.675, allocations: 14.86 kB / 0.9835 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/1.675, allocations: 61.2 kB / 0.9836 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/1.676, allocations: 418.8 kB / 0.984 GB, free: 164.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/1.676, allocations: 19.73 kB / 0.984 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/1.676, allocations: 22.53 kB / 0.984 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/1.676, allocations: 302 kB / 0.9843 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.676, allocations: 0 / 0.9843 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/1.676, allocations: 12 kB / 0.9843 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/1.676, allocations: 4 kB / 0.9843 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/1.677, allocations: 212.9 kB / 0.9845 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/1.678, allocations: 1.305 MB / 0.9858 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007616/1.679, allocations: 142.5 kB / 0.9859 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/1.679, allocations: 4 kB / 0.9859 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/1.679, allocations: 38.56 kB / 0.986 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/1.679, allocations: 0 / 0.986 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0007131/1.68, allocations: 236.9 kB / 0.9862 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/1.68, allocations: 106.8 kB / 0.9863 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/1.68, allocations: 449 kB / 0.9867 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/1.68, allocations: 29.7 kB / 0.9868 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/1.681, allocations: 231.2 kB / 0.987 GB, free: 161 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/1.681, allocations: 27.64 kB / 0.987 GB, free: 161 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/1.681, allocations: 4 kB / 0.987 GB, free: 161 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/1.681, allocations: 354.8 kB / 0.9873 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/1.681, allocations: 64.33 kB / 0.9874 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/1.681, allocations: 185 kB / 0.9876 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/1.681, allocations: 106.3 kB / 0.9877 GB, free: 160.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.681, allocations: 0 / 0.9877 GB, free: 160.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004883/1.682, allocations: 288.9 kB / 0.988 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000249/1.682, allocations: 1.221 MB / 0.9892 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.682, allocations: 7.938 kB / 0.9892 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/1.682, allocations: 4 kB / 0.9892 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/1.683, allocations: 91.92 kB / 0.9893 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003145/1.683, allocations: 0.6093 MB / 0.9899 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/1.683, allocations: 43.67 kB / 0.9899 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/1.683, allocations: 12 kB / 0.9899 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/1.683, allocations: 9.438 kB / 0.9899 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004137/1.684, allocations: 218.4 kB / 0.9901 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/1.684, allocations: 4 kB / 0.9901 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-06/1.684, allocations: 4 kB / 0.9901 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/1.684, allocations: 55.91 kB / 0.9902 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.684, allocations: 11.92 kB / 0.9902 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/1.684, allocations: 43.95 kB / 0.9902 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/1.684, allocations: 8 kB / 0.9902 GB, free: 157.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 () * Number of clocked 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.00016/1.685, allocations: 233.1 kB / 0.9905 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/1.685, allocations: 43.44 kB / 0.9905 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/1.685, allocations: 197 kB / 0.9907 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.685, allocations: 7.984 kB / 0.9907 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.685, allocations: 0 / 0.9907 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/1.685, allocations: 0 / 0.9907 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/1.686, allocations: 0.5936 MB / 0.9913 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/1.686, allocations: 4 kB / 0.9913 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/1.686, allocations: 67.94 kB / 0.9914 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.686, allocations: 4 kB / 0.9914 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/1.686, allocations: 3.984 kB / 0.9914 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001912/1.687, allocations: 0.5937 MB / 0.9919 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.687, allocations: 4.031 kB / 0.9919 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/1.687, allocations: 316.1 kB / 0.9922 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-05/1.687, allocations: 128.5 kB / 0.9924 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/1.687, allocations: 4 kB / 0.9924 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/1.687, allocations: 19.98 kB / 0.9924 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/1.687, allocations: 7.984 kB / 0.9924 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/1.688, allocations: 7.984 kB / 0.9924 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000317/1.688, allocations: 355.1 kB / 0.9927 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.688, allocations: 4 kB / 0.9927 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007751/1.689, allocations: 227.8 kB / 0.993 GB, free: 154.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 () * Number of clocked 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.0005954/1.689, allocations: 323.7 kB / 0.9933 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001117/1.69, allocations: 336.7 kB / 0.9936 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.69, allocations: 0 / 0.9936 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004569/1.691, allocations: 120.3 kB / 0.9937 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/1.692, allocations: 179.3 kB / 0.9939 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/1.693, allocations: 0.7075 MB / 0.9946 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/1.693, allocations: 0.8037 MB / 0.9954 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003998/1.694, allocations: 99.08 kB / 0.9954 GB, free: 152 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.866e-05/1.694, allocations: 35.42 kB / 0.9955 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/1.694, allocations: 0 / 0.9955 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.01365/1.707, allocations: 8.479 MB / 1.004 GB, free: 143.5 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)