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.001326/0.001326, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01008/0.01008, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.581/1.581, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6348/0.6348, allocations: 95.63 MB / 366.4 MB, free: 10.22 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.0006756/0.0006759, allocations: 16 kB / 447.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.402, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.6083/1.01, allocations: 139.1 MB / 0.6415 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/1.021, allocations: 5.29 MB / 0.6467 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/1.022, allocations: 18.19 kB / 0.6467 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/1.023, allocations: 143.9 kB / 0.6468 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002512/1.025, allocations: 369.7 kB / 0.6472 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002064/1.027, allocations: 0.5566 MB / 0.6477 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002205/1.03, allocations: 1.093 MB / 0.6488 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007112/1.03, allocations: 220.1 kB / 0.649 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/1.032, allocations: 311.3 kB / 0.6493 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/1.033, allocations: 318.8 kB / 0.6496 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001508/1.033, allocations: 17.44 kB / 0.6496 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/1.034, allocations: 0.5322 MB / 0.6501 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002221/1.035, allocations: 97.64 kB / 0.6502 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006512/1.035, allocations: 218.1 kB / 0.6504 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/1.037, allocations: 0.7613 MB / 0.6512 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.037, allocations: 0.5 kB / 0.6512 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.364e-06/1.037, allocations: 0.5 kB / 0.6512 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.342e-05/1.037, allocations: 0 / 0.6512 GB, free: 16.44 MB / 0.4981 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.002488/1.04, allocations: 0.7578 MB / 0.6519 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/1.04, allocations: 13.61 kB / 0.6519 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000501/1.04, allocations: 50.92 kB / 0.652 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009878/1.041, allocations: 424.3 kB / 0.6524 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/1.041, allocations: 17.78 kB / 0.6524 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/1.041, allocations: 22.5 kB / 0.6524 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000899/1.042, allocations: 300.1 kB / 0.6527 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.042, allocations: 4 kB / 0.6527 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/1.042, allocations: 10.31 kB / 0.6527 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/1.042, allocations: 5.297 kB / 0.6527 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/1.043, allocations: 215.1 kB / 0.6529 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/1.045, allocations: 1.299 MB / 0.6542 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/1.046, allocations: 85.42 kB / 0.6543 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/1.046, allocations: 52.44 kB / 0.6543 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/1.046, allocations: 0 / 0.6543 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/1.046, allocations: 37.72 kB / 0.6544 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/1.046, allocations: 0 / 0.6544 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007506/1.047, allocations: 212.4 kB / 0.6546 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/1.047, allocations: 102.8 kB / 0.6547 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/1.047, allocations: 0.5006 MB / 0.6552 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/1.048, allocations: 31.45 kB / 0.6552 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/1.048, allocations: 239.4 kB / 0.6554 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/1.048, allocations: 24.31 kB / 0.6554 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/1.048, allocations: 19.66 kB / 0.6555 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.048, allocations: 354.2 kB / 0.6558 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/1.048, allocations: 64.8 kB / 0.6559 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/1.048, allocations: 192.8 kB / 0.656 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/1.049, allocations: 225.1 kB / 0.6563 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.049, allocations: 0 / 0.6563 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005862/1.049, allocations: 272.4 kB / 0.6565 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001496/1.05, allocations: 188.4 kB / 0.6567 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.05, allocations: 2.844 kB / 0.6567 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.05, allocations: 3.594 kB / 0.6567 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/1.05, allocations: 99.05 kB / 0.6568 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004674/1.051, allocations: 0.5939 MB / 0.6574 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/1.051, allocations: 50.2 kB / 0.6574 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/1.051, allocations: 8.219 kB / 0.6574 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/1.051, allocations: 7.688 kB / 0.6574 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004088/1.052, allocations: 201.4 kB / 0.6576 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.052, allocations: 6.875 kB / 0.6576 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/1.052, allocations: 6.891 kB / 0.6576 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/1.052, allocations: 56.69 kB / 0.6577 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/1.052, allocations: 6.062 kB / 0.6577 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/1.052, allocations: 39.42 kB / 0.6577 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1.052, allocations: 10.66 kB / 0.6578 GB, free: 12.63 MB / 0.4981 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.0002265/1.053, allocations: 232.2 kB / 0.658 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.893e-05/1.053, allocations: 40.91 kB / 0.658 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005285/1.053, allocations: 184.5 kB / 0.6582 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.053, allocations: 0 / 0.6582 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.053, allocations: 0 / 0.6582 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.053, allocations: 3.344 kB / 0.6582 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008505/1.054, allocations: 0.5774 MB / 0.6588 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.054, allocations: 3.938 kB / 0.6588 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/1.055, allocations: 72.23 kB / 0.6588 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.055, allocations: 0 / 0.6588 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/1.055, allocations: 2.906 kB / 0.6588 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003495/1.055, allocations: 0.5898 MB / 0.6594 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.055, allocations: 7.25 kB / 0.6594 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/1.055, allocations: 274.1 kB / 0.6597 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/1.055, allocations: 128.8 kB / 0.6598 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/1.056, allocations: 7.141 kB / 0.6598 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/1.056, allocations: 16.19 kB / 0.6598 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/1.056, allocations: 17.06 kB / 0.6598 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/1.056, allocations: 8.312 kB / 0.6598 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000439/1.056, allocations: 361 kB / 0.6602 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.056, allocations: 0 / 0.6602 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008063/1.057, allocations: 209.3 kB / 0.6604 GB, free: 11.05 MB / 0.4981 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.000565/1.058, allocations: 230.5 kB / 0.6606 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001111/1.059, allocations: 324.9 kB / 0.6609 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.059, allocations: 0 / 0.6609 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005531/1.059, allocations: 123.9 kB / 0.661 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/1.061, allocations: 189.2 kB / 0.6612 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/1.062, allocations: 0.735 MB / 0.6619 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/1.062, allocations: 0.7922 MB / 0.6627 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003407/1.062, allocations: 86.91 kB / 0.6628 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-05/1.063, allocations: 37.17 kB / 0.6628 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/1.063, allocations: 0 / 0.6628 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of Templates: time 0.01475/1.077, allocations: 7.616 MB / 0.6703 GB, free: 8.52 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: