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.005978/0.005978, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001129/0.001129, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.483/1.483, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.6555/0.6555, allocations: 95.48 MB / 365.4 MB, free: 9.762 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.001403/0.001403, allocations: 67.91 kB / 0.5036 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1679, allocations: 69.08 MB / 0.5711 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.5663/0.7342, allocations: 143 MB / 0.7107 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0095/0.7438, allocations: 4.912 MB / 0.7155 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005172/0.7444, allocations: 14.72 kB / 0.7155 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.7452, allocations: 184.4 kB / 0.7157 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.7463, allocations: 399.8 kB / 0.7161 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.748, allocations: 0.6205 MB / 0.7167 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009964/0.749, allocations: 0.8415 MB / 0.7175 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004103/0.7495, allocations: 264.5 kB / 0.7177 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005217/0.75, allocations: 334.8 kB / 0.7181 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.7504, allocations: 334.7 kB / 0.7184 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.7505, allocations: 32 kB / 0.7184 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.7516, allocations: 0.546 MB / 0.7189 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.7517, allocations: 103.6 kB / 0.719 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.752, allocations: 214.9 kB / 0.7192 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.753, allocations: 0.7865 MB / 0.72 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.753, allocations: 0 / 0.72 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.854e-06/0.753, allocations: 0 / 0.72 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.753, allocations: 4 kB / 0.72 GB, free: 5.949 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.001601/0.7546, allocations: 0.8506 MB / 0.7209 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.7547, allocations: 11.98 kB / 0.7209 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.755, allocations: 48.47 kB / 0.7209 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008177/0.7558, allocations: 438.5 kB / 0.7213 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.7559, allocations: 13 kB / 0.7213 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.7559, allocations: 27.94 kB / 0.7214 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.7565, allocations: 300.1 kB / 0.7217 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.7565, allocations: 4 kB / 0.7217 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.7566, allocations: 8 kB / 0.7217 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.7566, allocations: 8 kB / 0.7217 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.7571, allocations: 200.9 kB / 0.7219 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.7589, allocations: 1.297 MB / 0.7231 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.7591, allocations: 78.53 kB / 0.7232 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.7593, allocations: 44.95 kB / 0.7232 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.7593, allocations: 0 / 0.7232 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.7593, allocations: 34.56 kB / 0.7233 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.7594, allocations: 3.938 kB / 0.7233 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006903/0.7601, allocations: 197.1 kB / 0.7235 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/0.7602, allocations: 102.8 kB / 0.7236 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.7608, allocations: 0.4979 MB / 0.7241 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.7608, allocations: 29.7 kB / 0.7241 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.761, allocations: 243.1 kB / 0.7243 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.761, allocations: 19.66 kB / 0.7243 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.358e-05/0.7611, allocations: 49.69 kB / 0.7244 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.7613, allocations: 354.7 kB / 0.7247 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.7615, allocations: 60.83 kB / 0.7248 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.7617, allocations: 185.9 kB / 0.725 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.7621, allocations: 216.8 kB / 0.7252 GB, free: 284 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.7621, allocations: 4 kB / 0.7252 GB, free: 280 kB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000526/0.7627, allocations: 264.9 kB / 0.7254 GB, free: 8 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.7627, allocations: 4 kB / 0.7254 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.7627, allocations: 4.203 kB / 0.7254 GB, free: 16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.7627, allocations: 7.938 kB / 0.7254 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.7633, allocations: 91.84 kB / 0.7255 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004776/0.7638, allocations: 0.5941 MB / 0.7261 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.7641, allocations: 39.67 kB / 0.7261 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.7642, allocations: 9.719 kB / 0.7261 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002496/0.7644, allocations: 172.1 kB / 0.7263 GB, free: 15.06 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002413/0.7647, allocations: 189.1 kB / 0.7265 GB, free: 14.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003474/0.765, allocations: 212.6 kB / 0.7267 GB, free: 14.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.7651, allocations: 0 / 0.7267 GB, free: 14.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0004971/0.7656, allocations: 264.5 kB / 0.7269 GB, free: 14.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.7656, allocations: 8 kB / 0.727 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.7656, allocations: 4.438 kB / 0.727 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.7656, allocations: 8 kB / 0.727 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.7658, allocations: 51.89 kB / 0.727 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.7658, allocations: 7.938 kB / 0.727 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.7661, allocations: 31.83 kB / 0.7271 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.7661, allocations: 8 kB / 0.7271 GB, free: 14.18 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.000153/0.7663, allocations: 196.1 kB / 0.7272 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.7664, allocations: 39.53 kB / 0.7273 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/0.7668, allocations: 178.4 kB / 0.7275 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.7668, allocations: 0 / 0.7275 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.7669, allocations: 0 / 0.7275 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7669, allocations: 4 kB / 0.7275 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007993/0.7677, allocations: 0.5701 MB / 0.728 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7677, allocations: 0 / 0.728 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.7681, allocations: 63.8 kB / 0.7281 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7681, allocations: 4 kB / 0.7281 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.7681, allocations: 3.938 kB / 0.7281 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003683/0.7685, allocations: 0.59 MB / 0.7287 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7685, allocations: 0 / 0.7287 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.7689, allocations: 276.7 kB / 0.7289 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.769, allocations: 112.6 kB / 0.729 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.7691, allocations: 4 kB / 0.729 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.7694, allocations: 12.86 kB / 0.729 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.7695, allocations: 7.984 kB / 0.7291 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.7695, allocations: 4 kB / 0.7291 GB, free: 12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004032/0.7699, allocations: 367.1 kB / 0.7294 GB, free: 11.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7699, allocations: 0 / 0.7294 GB, free: 11.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007335/0.7706, allocations: 211.8 kB / 0.7296 GB, free: 11.44 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.000575/0.7712, allocations: 224.8 kB / 0.7298 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.7723, allocations: 300.2 kB / 0.7301 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7723, allocations: 0 / 0.7301 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.7729, allocations: 113.1 kB / 0.7302 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009322/0.7738, allocations: 192.6 kB / 0.7304 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.775, allocations: 0.6067 MB / 0.731 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.7755, allocations: 0.7957 MB / 0.7318 GB, free: 9.176 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002774/0.7757, allocations: 95.08 kB / 0.7319 GB, free: 9.082 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.7758, allocations: 35.42 kB / 0.7319 GB, free: 9.047 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.7758, allocations: 0 / 0.7319 GB, free: 9.047 MB / 0.545 GB Notification: Performance of Templates: time 0.01457/0.7904, allocations: 7.942 MB / 0.7397 GB, free: 1.184 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)