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.0009686/0.0009686, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009995/0.0009995, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.5705/0.5705, allocations: 95.57 MB / 365.9 MB, free: 10.39 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.0006161/0.0006162, allocations: 12 kB / 446.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2974, allocations: 70.34 MB / 0.505 GB, free: 16.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.1237/0.4211, allocations: 121.3 MB / 0.6234 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006362/0.4275, allocations: 4.563 MB / 0.6279 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004638/0.428, allocations: 11.88 kB / 0.6279 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.4287, allocations: 195.1 kB / 0.6281 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008597/0.4295, allocations: 398.8 kB / 0.6285 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.4331, allocations: 1.425 MB / 0.6299 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007604/0.4339, allocations: 0.4959 MB / 0.6303 GB, free: 0 / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2662/0.7001, allocations: 202.5 kB / 0.6305 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005904/0.7007, allocations: 283.4 kB / 0.6308 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.7011, allocations: 241 kB / 0.631 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.7011, allocations: 16.25 kB / 0.631 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007564/0.7019, allocations: 321.5 kB / 0.6313 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.702, allocations: 86.5 kB / 0.6314 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.7022, allocations: 98.02 kB / 0.6315 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006811/0.7029, allocations: 496.2 kB / 0.632 GB, free: 17.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.7029, allocations: 0 / 0.632 GB, free: 17.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7029, allocations: 0 / 0.632 GB, free: 17.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.7029, allocations: 0 / 0.632 GB, free: 17.9 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.001336/0.7043, allocations: 0.7408 MB / 0.6327 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.7043, allocations: 11.28 kB / 0.6327 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.7046, allocations: 55 kB / 0.6328 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/0.7052, allocations: 413.8 kB / 0.6332 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.7052, allocations: 17.09 kB / 0.6332 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.7053, allocations: 20.75 kB / 0.6332 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.7058, allocations: 295.4 kB / 0.6335 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.7059, allocations: 0.7812 kB / 0.6335 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.7059, allocations: 13.64 kB / 0.6335 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.7059, allocations: 8.672 kB / 0.6335 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.7064, allocations: 209.1 kB / 0.6337 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.7081, allocations: 1.291 MB / 0.635 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.7084, allocations: 80.27 kB / 0.6351 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.7084, allocations: 10.25 kB / 0.6351 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.7085, allocations: 35.39 kB / 0.6351 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.7085, allocations: 0 / 0.6351 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006395/0.7091, allocations: 212.6 kB / 0.6353 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.7092, allocations: 103.4 kB / 0.6354 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006531/0.7098, allocations: 0.4932 MB / 0.6359 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.7099, allocations: 27.89 kB / 0.6359 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.7101, allocations: 240.8 kB / 0.6361 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.7101, allocations: 24.33 kB / 0.6362 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.7101, allocations: 10.78 kB / 0.6362 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7102, allocations: 346 kB / 0.6365 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.7104, allocations: 60.7 kB / 0.6366 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.7106, allocations: 184.8 kB / 0.6367 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.7108, allocations: 90.45 kB / 0.6368 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.7108, allocations: 0.9375 kB / 0.6368 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005198/0.7114, allocations: 268.5 kB / 0.6371 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003968/0.7118, allocations: 1.229 MB / 0.6383 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.7118, allocations: 3.875 kB / 0.6383 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.7118, allocations: 5.391 kB / 0.6383 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.7124, allocations: 102.7 kB / 0.6384 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003996/0.7129, allocations: 0.6013 MB / 0.639 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.7133, allocations: 38.8 kB / 0.639 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.7133, allocations: 18.03 kB / 0.639 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.168e-06/0.7133, allocations: 5.094 kB / 0.639 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000405/0.7137, allocations: 199.6 kB / 0.6392 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7137, allocations: 4.719 kB / 0.6392 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.7138, allocations: 4.469 kB / 0.6392 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.714, allocations: 54.3 kB / 0.6393 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.714, allocations: 7.891 kB / 0.6393 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.7143, allocations: 41.22 kB / 0.6393 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.7143, allocations: 9.391 kB / 0.6393 GB, free: 13.21 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.0002109/0.7145, allocations: 237.3 kB / 0.6396 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.7146, allocations: 43.67 kB / 0.6396 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.7151, allocations: 176 kB / 0.6398 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.7151, allocations: 1.094 kB / 0.6398 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7151, allocations: 2.422 kB / 0.6398 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7151, allocations: 1.344 kB / 0.6398 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008591/0.716, allocations: 0.5768 MB / 0.6403 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.716, allocations: 1.938 kB / 0.6403 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.7164, allocations: 69.56 kB / 0.6404 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.7164, allocations: 1.562 kB / 0.6404 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.7164, allocations: 2.266 kB / 0.6404 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003035/0.7167, allocations: 0.5946 MB / 0.641 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7168, allocations: 2.312 kB / 0.641 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.7172, allocations: 310 kB / 0.6413 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.7173, allocations: 126 kB / 0.6414 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.7174, allocations: 5.625 kB / 0.6414 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.7177, allocations: 15.77 kB / 0.6414 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.7177, allocations: 6.312 kB / 0.6414 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.7177, allocations: 8.969 kB / 0.6414 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004497/0.7182, allocations: 358.1 kB / 0.6418 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.82e-07/0.7182, allocations: 4 kB / 0.6418 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008056/0.719, allocations: 207.8 kB / 0.642 GB, free: 11.6 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.0005509/0.7196, allocations: 225.8 kB / 0.6422 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.7207, allocations: 319.6 kB / 0.6425 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.7207, allocations: 0.7656 kB / 0.6425 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.7213, allocations: 127.8 kB / 0.6426 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009077/0.7222, allocations: 170.9 kB / 0.6428 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.7234, allocations: 0.7135 MB / 0.6435 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.7237, allocations: 0.7997 MB / 0.6443 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004087/0.7241, allocations: 82.78 kB / 0.6444 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.7242, allocations: 45.05 kB / 0.6444 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.583e-06/0.7243, allocations: 0 / 0.6444 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.01456/0.7388, allocations: 7.38 MB / 0.6516 GB, free: 9.852 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: