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.00109/0.00109, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001266/0.001267, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.6471/0.6471, allocations: 95.62 MB / 366 MB, free: 10.32 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.0006039/0.0006041, allocations: 24 kB / 446.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3616, allocations: 70.33 MB / 0.5051 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.5744/0.9361, allocations: 129.7 MB / 0.6317 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009366/0.9455, allocations: 4.695 MB / 0.6363 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008975/0.9465, allocations: 14.84 kB / 0.6363 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000753/0.9472, allocations: 140 kB / 0.6364 GB, free: 1.938 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00135/0.9486, allocations: 365.2 kB / 0.6368 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.9504, allocations: 0.494 MB / 0.6373 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.9519, allocations: 0.9267 MB / 0.6382 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.9524, allocations: 210.2 kB / 0.6384 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000604/0.953, allocations: 307.5 kB / 0.6387 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005492/0.9536, allocations: 310.8 kB / 0.639 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.9536, allocations: 15.84 kB / 0.639 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.9549, allocations: 463.4 kB / 0.6394 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.955, allocations: 88.27 kB / 0.6395 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.9554, allocations: 101 kB / 0.6396 GB, free: 17.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008634/0.9562, allocations: 0.5573 MB / 0.6402 GB, free: 17.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9563, allocations: 0.875 kB / 0.6402 GB, free: 17.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9563, allocations: 0 / 0.6402 GB, free: 17.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.9563, allocations: 0 / 0.6402 GB, free: 17.78 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.001427/0.9577, allocations: 0.7648 MB / 0.6409 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.9578, allocations: 13.89 kB / 0.6409 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.958, allocations: 48.42 kB / 0.641 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006347/0.9587, allocations: 412.8 kB / 0.6414 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.9587, allocations: 19.66 kB / 0.6414 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.9587, allocations: 22.66 kB / 0.6414 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.9593, allocations: 294.4 kB / 0.6417 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.9594, allocations: 2.25 kB / 0.6417 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.9594, allocations: 11.09 kB / 0.6417 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.9594, allocations: 4.312 kB / 0.6417 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.9599, allocations: 213.7 kB / 0.6419 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.9617, allocations: 1.3 MB / 0.6432 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.962, allocations: 81.67 kB / 0.6432 GB, free: 16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.9621, allocations: 52.8 kB / 0.6433 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.9622, allocations: 1 kB / 0.6433 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.9622, allocations: 31.78 kB / 0.6433 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.9622, allocations: 0.8125 kB / 0.6433 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006843/0.9629, allocations: 213.8 kB / 0.6435 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.963, allocations: 107.8 kB / 0.6436 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.9636, allocations: 0.4907 MB / 0.6441 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.9637, allocations: 31.14 kB / 0.6441 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.9639, allocations: 238.8 kB / 0.6444 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.9639, allocations: 24.11 kB / 0.6444 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.9639, allocations: 5.312 kB / 0.6444 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.9641, allocations: 350.5 kB / 0.6447 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.9642, allocations: 55.86 kB / 0.6448 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.9645, allocations: 194.4 kB / 0.645 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.9647, allocations: 87.02 kB / 0.6451 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9647, allocations: 1 kB / 0.6451 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005929/0.9653, allocations: 276.2 kB / 0.6453 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.9654, allocations: 176.7 kB / 0.6455 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.9654, allocations: 3.844 kB / 0.6455 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.9655, allocations: 4.969 kB / 0.6455 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.9661, allocations: 99.42 kB / 0.6456 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004559/0.9666, allocations: 0.5981 MB / 0.6462 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.967, allocations: 44.03 kB / 0.6462 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.9671, allocations: 16.16 kB / 0.6462 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.9671, allocations: 3.688 kB / 0.6462 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004798/0.9676, allocations: 203.7 kB / 0.6464 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9676, allocations: 3.438 kB / 0.6464 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.9676, allocations: 5 kB / 0.6464 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.9678, allocations: 53.73 kB / 0.6465 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.9678, allocations: 5.781 kB / 0.6465 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.9681, allocations: 47.81 kB / 0.6465 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.9681, allocations: 7.906 kB / 0.6465 GB, free: 14.12 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002221/0.9683, allocations: 236.3 kB / 0.6468 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.9684, allocations: 40.28 kB / 0.6468 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.9689, allocations: 182.9 kB / 0.647 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.9689, allocations: 2.906 kB / 0.647 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.9689, allocations: 0 / 0.647 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9689, allocations: 0 / 0.647 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007665/0.9697, allocations: 0.5731 MB / 0.6475 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.9697, allocations: 5.781 kB / 0.6476 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.97, allocations: 70.16 kB / 0.6476 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.97, allocations: 0 / 0.6476 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.9701, allocations: 1.75 kB / 0.6476 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004717/0.9705, allocations: 0.5986 MB / 0.6482 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9706, allocations: 0 / 0.6482 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.9709, allocations: 276.3 kB / 0.6485 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.971, allocations: 122.2 kB / 0.6486 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-05/0.9711, allocations: 13.88 kB / 0.6486 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.9714, allocations: 19.2 kB / 0.6486 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.9714, allocations: 8.266 kB / 0.6486 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.9714, allocations: 6.125 kB / 0.6486 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004392/0.9719, allocations: 362.4 kB / 0.649 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9719, allocations: 0 / 0.649 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009106/0.9728, allocations: 202.9 kB / 0.6492 GB, free: 12.55 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00059/0.9734, allocations: 231.5 kB / 0.6494 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.9747, allocations: 330.1 kB / 0.6497 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.9747, allocations: 3.5 kB / 0.6497 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.9752, allocations: 121.1 kB / 0.6498 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.9763, allocations: 173.2 kB / 0.65 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.9778, allocations: 0.7137 MB / 0.6507 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.9784, allocations: 0.7896 MB / 0.6515 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004845/0.9789, allocations: 96.52 kB / 0.6516 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.979, allocations: 35.09 kB / 0.6516 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.979, allocations: 0 / 0.6516 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.01665/0.9957, allocations: 7.384 MB / 0.6588 GB, free: 10.75 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: