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.001067/0.001067, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001063/0.001063, allocations: 191.8 kB / 16.14 MB, free: 6.703 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.55/1.55, allocations: 205.1 MB / 222 MB, free: 4.777 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.6526/0.6526, allocations: 95.47 MB / 364.8 MB, free: 10.1 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.001695/0.001694, allocations: 67.89 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4121, allocations: 69.08 MB / 0.5017 GB, free: 17.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.5862/0.9983, allocations: 140.9 MB / 0.6393 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01051/1.009, allocations: 5.377 MB / 0.6446 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007006/1.01, allocations: 16.92 kB / 0.6446 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008663/1.011, allocations: 149.3 kB / 0.6448 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/1.012, allocations: 376.3 kB / 0.6451 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001971/1.014, allocations: 0.5467 MB / 0.6456 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/1.016, allocations: 1.09 MB / 0.6467 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/1.017, allocations: 224.2 kB / 0.6469 GB, free: 500 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007399/1.017, allocations: 314.5 kB / 0.6472 GB, free: 500 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004683/1.018, allocations: 319.2 kB / 0.6475 GB, free: 496 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/1.018, allocations: 20.53 kB / 0.6475 GB, free: 496 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/1.019, allocations: 0.5367 MB / 0.6481 GB, free: 488 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/1.019, allocations: 96.41 kB / 0.6482 GB, free: 484 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/1.02, allocations: 195.9 kB / 0.6483 GB, free: 484 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/1.021, allocations: 0.7685 MB / 0.6491 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/1.021, allocations: 0 / 0.6491 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.943e-06/1.021, allocations: 0.5312 kB / 0.6491 GB, free: 432 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/1.021, allocations: 0 / 0.6491 GB, free: 432 kB / 494.1 MB 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.002273/1.023, allocations: 0.8387 MB / 0.6499 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/1.023, allocations: 16.95 kB / 0.6499 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/1.024, allocations: 56.14 kB / 0.65 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/1.024, allocations: 422.1 kB / 0.6504 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/1.025, allocations: 18.19 kB / 0.6504 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/1.025, allocations: 21.41 kB / 0.6504 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/1.025, allocations: 299.4 kB / 0.6507 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.025, allocations: 5.203 kB / 0.6507 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/1.025, allocations: 10.25 kB / 0.6507 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.025, allocations: 5.5 kB / 0.6507 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/1.026, allocations: 201.9 kB / 0.6509 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/1.028, allocations: 1.296 MB / 0.6522 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/1.028, allocations: 75.06 kB / 0.6523 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/1.028, allocations: 49.67 kB / 0.6523 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/1.028, allocations: 3.828 kB / 0.6523 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/1.028, allocations: 32.78 kB / 0.6523 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/1.028, allocations: 0 / 0.6523 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006735/1.029, allocations: 194.9 kB / 0.6525 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/1.029, allocations: 106.9 kB / 0.6526 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006068/1.029, allocations: 0.5084 MB / 0.6531 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/1.029, allocations: 27.8 kB / 0.6532 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/1.03, allocations: 229.9 kB / 0.6534 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/1.03, allocations: 27.38 kB / 0.6534 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.503e-05/1.03, allocations: 46 kB / 0.6534 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.03, allocations: 352.2 kB / 0.6538 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/1.03, allocations: 67.27 kB / 0.6538 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/1.03, allocations: 190.1 kB / 0.654 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/1.031, allocations: 212.4 kB / 0.6542 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/1.031, allocations: 1.203 kB / 0.6542 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004932/1.031, allocations: 259.1 kB / 0.6545 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.031, allocations: 6.125 kB / 0.6545 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.031, allocations: 12.81 kB / 0.6545 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/1.031, allocations: 5.25 kB / 0.6545 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/1.032, allocations: 87.05 kB / 0.6546 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004431/1.032, allocations: 0.6051 MB / 0.6552 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/1.033, allocations: 37.23 kB / 0.6552 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/1.033, allocations: 10.94 kB / 0.6552 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002393/1.033, allocations: 171.9 kB / 0.6554 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002303/1.033, allocations: 186.9 kB / 0.6556 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003192/1.034, allocations: 219.5 kB / 0.6558 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/1.034, allocations: 0 / 0.6558 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0004569/1.034, allocations: 259.4 kB / 0.656 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/1.034, allocations: 6.844 kB / 0.656 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/1.034, allocations: 7.281 kB / 0.656 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-06/1.034, allocations: 5.594 kB / 0.656 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/1.034, allocations: 56.83 kB / 0.6561 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.034, allocations: 6.406 kB / 0.6561 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/1.035, allocations: 33.12 kB / 0.6561 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/1.035, allocations: 12.16 kB / 0.6561 GB, free: 12.37 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.0001524/1.035, allocations: 194.5 kB / 0.6563 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/1.035, allocations: 39.45 kB / 0.6564 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004888/1.035, allocations: 172.6 kB / 0.6565 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/1.035, allocations: 2.562 kB / 0.6565 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.036, allocations: 0 / 0.6565 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/1.036, allocations: 3.938 kB / 0.6565 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007541/1.036, allocations: 0.567 MB / 0.6571 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.036, allocations: 0 / 0.6571 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/1.037, allocations: 59.14 kB / 0.6571 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.037, allocations: 0 / 0.6571 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/1.037, allocations: 6.062 kB / 0.6572 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003235/1.037, allocations: 0.5937 MB / 0.6577 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.037, allocations: 1.094 kB / 0.6577 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/1.037, allocations: 275.6 kB / 0.658 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/1.038, allocations: 122.5 kB / 0.6581 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/1.038, allocations: 2.656 kB / 0.6581 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/1.038, allocations: 11.08 kB / 0.6581 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/1.038, allocations: 5.625 kB / 0.6581 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/1.038, allocations: 10.77 kB / 0.6581 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000433/1.038, allocations: 359.3 kB / 0.6585 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.038, allocations: 2.312 kB / 0.6585 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008552/1.039, allocations: 207.5 kB / 0.6587 GB, free: 10.82 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.0006441/1.04, allocations: 239.2 kB / 0.6589 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00117/1.041, allocations: 297.5 kB / 0.6592 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/1.041, allocations: 0 / 0.6592 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004943/1.042, allocations: 111.1 kB / 0.6593 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009524/1.043, allocations: 170.8 kB / 0.6595 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/1.044, allocations: 0.7105 MB / 0.6602 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/1.044, allocations: 0.7911 MB / 0.6609 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003431/1.045, allocations: 93.19 kB / 0.661 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/1.045, allocations: 40.34 kB / 0.6611 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/1.045, allocations: 0 / 0.6611 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of Templates: time 0.01405/1.059, allocations: 7.662 MB / 0.6685 GB, free: 8.684 MB / 0.4981 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)