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.005957/0.005957, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001326/0.001327, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.593/1.593, 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.5825/0.5825, allocations: 95.49 MB / 365.4 MB, free: 9.773 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.001461/0.001461, allocations: 66.75 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1649, allocations: 69.09 MB / 0.5711 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.5771/0.7421, allocations: 143 MB / 0.7107 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007927/0.7501, allocations: 4.912 MB / 0.7155 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004188/0.7506, allocations: 17.62 kB / 0.7155 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.7512, allocations: 181.3 kB / 0.7157 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009089/0.7521, allocations: 403.8 kB / 0.7161 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.7535, allocations: 0.6107 MB / 0.7167 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009184/0.7544, allocations: 0.8456 MB / 0.7175 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003695/0.7548, allocations: 267.8 kB / 0.7178 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/0.7553, allocations: 338.8 kB / 0.7181 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.7557, allocations: 326.8 kB / 0.7184 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.7557, allocations: 32 kB / 0.7184 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.7568, allocations: 0.546 MB / 0.7189 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.7569, allocations: 111.6 kB / 0.7191 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.7572, allocations: 211 kB / 0.7193 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.7584, allocations: 0.7787 MB / 0.72 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.7584, allocations: 0 / 0.72 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7584, allocations: 0 / 0.72 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.7584, allocations: 0 / 0.72 GB, free: 5.988 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.001689/0.7601, allocations: 0.8584 MB / 0.7209 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.7602, allocations: 11.98 kB / 0.7209 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.7605, allocations: 48.47 kB / 0.7209 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008293/0.7613, allocations: 446.5 kB / 0.7213 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.7613, allocations: 13 kB / 0.7214 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.7614, allocations: 23.94 kB / 0.7214 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006387/0.762, allocations: 296.2 kB / 0.7217 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.762, allocations: 0 / 0.7217 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.7621, allocations: 15.94 kB / 0.7217 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.7621, allocations: 4 kB / 0.7217 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.7626, allocations: 204.9 kB / 0.7219 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.7644, allocations: 1.285 MB / 0.7231 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.7646, allocations: 78.47 kB / 0.7232 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.7648, allocations: 48.95 kB / 0.7232 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.7648, allocations: 4 kB / 0.7233 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.7648, allocations: 30.56 kB / 0.7233 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.7648, allocations: 0 / 0.7233 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007358/0.7656, allocations: 193.1 kB / 0.7235 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.7657, allocations: 110.8 kB / 0.7236 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006128/0.7663, allocations: 0.4979 MB / 0.7241 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.7663, allocations: 25.7 kB / 0.7241 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.7665, allocations: 243.1 kB / 0.7243 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.7665, allocations: 23.66 kB / 0.7243 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.7666, allocations: 53.62 kB / 0.7244 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7668, allocations: 350.7 kB / 0.7247 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.767, allocations: 64.83 kB / 0.7248 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.7672, allocations: 186.1 kB / 0.725 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.7676, allocations: 215.8 kB / 0.7252 GB, free: 312 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7676, allocations: 0 / 0.7252 GB, free: 312 kB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005484/0.7682, allocations: 263.2 kB / 0.7254 GB, free: 44 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.7682, allocations: 12 kB / 0.7254 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.7682, allocations: 7.938 kB / 0.7254 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.7683, allocations: 4 kB / 0.7254 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.7689, allocations: 91.84 kB / 0.7255 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005842/0.7695, allocations: 0.5977 MB / 0.7261 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.7699, allocations: 35.67 kB / 0.7261 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.7699, allocations: 8 kB / 0.7262 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002801/0.7702, allocations: 173 kB / 0.7263 GB, free: 15.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002557/0.7705, allocations: 185.2 kB / 0.7265 GB, free: 14.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003727/0.7709, allocations: 216.6 kB / 0.7267 GB, free: 14.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.7709, allocations: 4 kB / 0.7267 GB, free: 14.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0004915/0.7714, allocations: 260.5 kB / 0.727 GB, free: 14.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.7714, allocations: 8 kB / 0.727 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.7714, allocations: 4 kB / 0.727 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-06/0.7714, allocations: 7.984 kB / 0.727 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.7716, allocations: 52.34 kB / 0.727 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.7717, allocations: 8 kB / 0.727 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.772, allocations: 27.83 kB / 0.7271 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.772, allocations: 8 kB / 0.7271 GB, free: 14.22 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.0001827/0.7722, allocations: 200.1 kB / 0.7273 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/0.7723, allocations: 43.52 kB / 0.7273 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.7728, allocations: 165.8 kB / 0.7275 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7728, allocations: 0 / 0.7275 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7728, allocations: 0 / 0.7275 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.7728, allocations: 3.938 kB / 0.7275 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008429/0.7736, allocations: 0.5739 MB / 0.728 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.7737, allocations: 0 / 0.728 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.7741, allocations: 63.86 kB / 0.7281 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7741, allocations: 0 / 0.7281 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.7742, allocations: 7.938 kB / 0.7281 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004339/0.7746, allocations: 0.5939 MB / 0.7287 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.7746, allocations: 3.938 kB / 0.7287 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.7751, allocations: 265.2 kB / 0.7289 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.7752, allocations: 116.7 kB / 0.729 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.844e-05/0.7753, allocations: 8.875 kB / 0.729 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.7755, allocations: 11.98 kB / 0.7291 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.7756, allocations: 3.984 kB / 0.7291 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.7757, allocations: 11.98 kB / 0.7291 GB, free: 12.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005065/0.7762, allocations: 359.1 kB / 0.7294 GB, free: 11.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7762, allocations: 0 / 0.7294 GB, free: 11.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000868/0.7771, allocations: 207.8 kB / 0.7296 GB, free: 11.48 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.000726/0.7778, allocations: 236.7 kB / 0.7298 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.7791, allocations: 292 kB / 0.7301 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.7791, allocations: 7.938 kB / 0.7301 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.7797, allocations: 105.1 kB / 0.7302 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009925/0.7807, allocations: 193 kB / 0.7304 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.7821, allocations: 0.6126 MB / 0.731 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.7826, allocations: 0.7879 MB / 0.7318 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002993/0.7829, allocations: 91.14 kB / 0.7319 GB, free: 9.121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.783, allocations: 35.42 kB / 0.7319 GB, free: 9.086 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.783, allocations: 4 kB / 0.7319 GB, free: 9.082 MB / 0.545 GB Notification: Performance of Templates: time 0.01708/0.8001, allocations: 7.986 MB / 0.7397 GB, free: 1.18 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)