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/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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009594/0.009594, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 187.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6415/0.6415, allocations: 95.48 MB / 365.4 MB, free: 9.789 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 70.23 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1511, allocations: 69.08 MB / 0.5711 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.6216/0.7727, allocations: 143 MB / 0.7107 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00887/0.7817, allocations: 4.906 MB / 0.7155 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00083/0.7825, allocations: 9.281 kB / 0.7155 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009682/0.7836, allocations: 187.9 kB / 0.7157 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.7853, allocations: 409.9 kB / 0.7161 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.7872, allocations: 0.62 MB / 0.7167 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.7886, allocations: 0.843 MB / 0.7175 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/0.7891, allocations: 268.6 kB / 0.7178 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005872/0.7897, allocations: 346.8 kB / 0.7181 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004677/0.7901, allocations: 326.8 kB / 0.7184 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.609e-05/0.7902, allocations: 36 kB / 0.7184 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.7915, allocations: 0.5382 MB / 0.719 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.7916, allocations: 115.6 kB / 0.7191 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.7919, allocations: 207 kB / 0.7193 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.7931, allocations: 0.7865 MB / 0.72 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.7931, allocations: 0 / 0.72 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7931, allocations: 0 / 0.72 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.7931, allocations: 4 kB / 0.72 GB, free: 5.992 MB / 0.5294 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.001582/0.7947, allocations: 0.8428 MB / 0.7209 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.7948, allocations: 15.98 kB / 0.7209 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.795, allocations: 44.47 kB / 0.7209 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000732/0.7958, allocations: 450.4 kB / 0.7213 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.7958, allocations: 17 kB / 0.7214 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.7958, allocations: 27.94 kB / 0.7214 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.7964, allocations: 284.2 kB / 0.7217 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.7964, allocations: 7.562 kB / 0.7217 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.7965, allocations: 12 kB / 0.7217 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.7965, allocations: 4 kB / 0.7217 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.797, allocations: 208.9 kB / 0.7219 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.7987, allocations: 1.281 MB / 0.7231 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.799, allocations: 78.53 kB / 0.7232 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.7991, allocations: 48.89 kB / 0.7233 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.7991, allocations: 3.984 kB / 0.7233 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.7992, allocations: 34.56 kB / 0.7233 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.7992, allocations: 0 / 0.7233 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006505/0.7998, allocations: 197.1 kB / 0.7235 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.7999, allocations: 102.8 kB / 0.7236 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.8005, allocations: 0.4979 MB / 0.7241 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.8005, allocations: 29.7 kB / 0.7241 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.8007, allocations: 231.2 kB / 0.7243 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.8007, allocations: 27.64 kB / 0.7243 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.193e-05/0.8008, allocations: 53.64 kB / 0.7244 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.801, allocations: 350.7 kB / 0.7247 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.8011, allocations: 72.75 kB / 0.7248 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.8013, allocations: 172.3 kB / 0.725 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.8017, allocations: 223.7 kB / 0.7252 GB, free: 332 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.8017, allocations: 0 / 0.7252 GB, free: 332 kB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000479/0.8022, allocations: 273 kB / 0.7254 GB, free: 52 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.8022, allocations: 8 kB / 0.7254 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.8022, allocations: 11.92 kB / 0.7255 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.8023, allocations: 4 kB / 0.7255 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.8028, allocations: 83.86 kB / 0.7255 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004129/0.8033, allocations: 0.5979 MB / 0.7261 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.8036, allocations: 35.67 kB / 0.7262 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.8036, allocations: 15.98 kB / 0.7262 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002364/0.8039, allocations: 168.1 kB / 0.7263 GB, free: 15.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002355/0.8041, allocations: 189.5 kB / 0.7265 GB, free: 14.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003581/0.8045, allocations: 217.8 kB / 0.7267 GB, free: 14.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.918e-06/0.8045, allocations: 0 / 0.7267 GB, free: 14.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0005139/0.805, allocations: 264.8 kB / 0.727 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.805, allocations: 4 kB / 0.727 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.8051, allocations: 4 kB / 0.727 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.79e-06/0.8051, allocations: 4.438 kB / 0.727 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.8053, allocations: 55.97 kB / 0.727 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8053, allocations: 7.938 kB / 0.727 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.8056, allocations: 27.83 kB / 0.7271 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.8056, allocations: 15.73 kB / 0.7271 GB, free: 14.23 MB / 0.545 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 (21): * Single equations (assignments): 20 * 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.0002427/0.8059, allocations: 196.1 kB / 0.7273 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.8059, allocations: 39.53 kB / 0.7273 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004282/0.8064, allocations: 165.1 kB / 0.7275 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8064, allocations: 0 / 0.7275 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8064, allocations: 0 / 0.7275 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-05/0.8065, allocations: 3.938 kB / 0.7275 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.8073, allocations: 0.5739 MB / 0.728 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8074, allocations: 0 / 0.728 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.8077, allocations: 59.94 kB / 0.7281 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.8078, allocations: 0 / 0.7281 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.8078, allocations: 11.88 kB / 0.7281 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003872/0.8082, allocations: 0.59 MB / 0.7287 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8082, allocations: 0 / 0.7287 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.8086, allocations: 272.7 kB / 0.7289 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.8087, allocations: 124.6 kB / 0.7291 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.8088, allocations: 0 / 0.7291 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.809, allocations: 11.98 kB / 0.7291 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.8091, allocations: 11.94 kB / 0.7291 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.8091, allocations: 7.984 kB / 0.7291 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000475/0.8096, allocations: 363.1 kB / 0.7294 GB, free: 11.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8096, allocations: 0 / 0.7294 GB, free: 11.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007097/0.8103, allocations: 199.8 kB / 0.7296 GB, free: 11.49 MB / 0.545 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 (7): * Single equations (assignments): 6 * 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.0006569/0.811, allocations: 234.6 kB / 0.7298 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.8121, allocations: 298.4 kB / 0.7301 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8121, allocations: 0 / 0.7301 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.8126, allocations: 105.1 kB / 0.7302 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000968/0.8136, allocations: 192 kB / 0.7304 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.8149, allocations: 0.6126 MB / 0.731 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.8153, allocations: 0.7957 MB / 0.7318 GB, free: 9.223 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003443/0.8157, allocations: 83.16 kB / 0.7319 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.8158, allocations: 39.42 kB / 0.7319 GB, free: 9.102 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/0.8158, allocations: 0 / 0.7319 GB, free: 9.102 MB / 0.545 GB Notification: Performance of Templates: time 0.01726/0.833, allocations: 7.984 MB / 0.7397 GB, free: 1.203 MB / 0.545 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)