Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009637/0.0009637, allocations: 99.86 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.001096/0.001096, allocations: 177.3 kB / 15.94 MB, free: 228 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.344/1.344, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.5487/0.5487, allocations: 95.59 MB / 366 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.0005944/0.0005945, allocations: 20 kB / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2884, allocations: 70.34 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.1327/0.4211, allocations: 127.2 MB / 0.6292 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2554/0.6766, allocations: 5.988 MB / 0.635 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006019/0.6772, allocations: 28.16 kB / 0.6351 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008626/0.6781, allocations: 324.7 kB / 0.6354 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.6796, allocations: 0.7393 MB / 0.6361 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00455/0.6842, allocations: 1.731 MB / 0.6378 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.6856, allocations: 1.003 MB / 0.6388 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000609/0.6863, allocations: 468.3 kB / 0.6392 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007113/0.687, allocations: 0.5003 MB / 0.6397 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006382/0.6876, allocations: 465.4 kB / 0.6401 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.6878, allocations: 31.47 kB / 0.6402 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.6892, allocations: 0.676 MB / 0.6408 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.6894, allocations: 179 kB / 0.641 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.6897, allocations: 171.1 kB / 0.6412 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.6908, allocations: 1.013 MB / 0.6422 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.6908, allocations: 0.625 kB / 0.6422 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6908, allocations: 0 / 0.6422 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.6909, allocations: 4 kB / 0.6422 GB, free: 17.28 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002138/0.693, allocations: 1.207 MB / 0.6433 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.693, allocations: 8.406 kB / 0.6433 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.6933, allocations: 103.3 kB / 0.6434 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009575/0.6943, allocations: 0.649 MB / 0.6441 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-05/0.6944, allocations: 38.94 kB / 0.6441 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.073e-05/0.6945, allocations: 53.31 kB / 0.6442 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.6955, allocations: 0.5494 MB / 0.6447 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.6955, allocations: 0.5 kB / 0.6447 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.096e-05/0.6956, allocations: 18.91 kB / 0.6447 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.6956, allocations: 15.19 kB / 0.6447 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009336/0.6966, allocations: 403.7 kB / 0.6451 GB, free: 16.05 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.6991, allocations: 1.991 MB / 0.6471 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008029/0.6999, allocations: 384.9 kB / 0.6474 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.7, allocations: 90.64 kB / 0.6475 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.7, allocations: 40.83 kB / 0.6476 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.7, allocations: 0.6562 kB / 0.6476 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.00203/0.7021, allocations: 0.7199 MB / 0.6483 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.7022, allocations: 267.2 kB / 0.6485 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008285/0.703, allocations: 0.8311 MB / 0.6493 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.7031, allocations: 34.98 kB / 0.6494 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.7033, allocations: 394.6 kB / 0.6497 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.7034, allocations: 99.86 kB / 0.6498 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.7034, allocations: 6.625 kB / 0.6498 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.7035, allocations: 318.1 kB / 0.6501 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.7038, allocations: 185.7 kB / 0.6503 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.7042, allocations: 360.7 kB / 0.6507 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.7046, allocations: 229.8 kB / 0.6509 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7046, allocations: 0 / 0.6509 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001018/0.7056, allocations: 0.6165 MB / 0.6515 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003398/0.706, allocations: 1.056 MB / 0.6525 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.706, allocations: 5.469 kB / 0.6525 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009004/0.7069, allocations: 176.3 kB / 0.6527 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.7075, allocations: 139.8 kB / 0.6528 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007894/0.7083, allocations: 1.232 MB / 0.654 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.7089, allocations: 84.3 kB / 0.6541 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.709, allocations: 23.41 kB / 0.6541 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/0.709, allocations: 3.219 kB / 0.6541 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008094/0.7098, allocations: 0.4934 MB / 0.6546 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7099, allocations: 8.812 kB / 0.6546 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/0.7101, allocations: 56.61 kB / 0.6547 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.7105, allocations: 102.1 kB / 0.6548 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.7115, allocations: 1.527 MB / 0.6563 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.712, allocations: 73.41 kB / 0.6563 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.7121, allocations: 25.84 kB / 0.6564 GB, free: 9.707 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (42): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003266/0.7124, allocations: 287.3 kB / 0.6566 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.7125, allocations: 88.98 kB / 0.6567 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008751/0.7134, allocations: 481.3 kB / 0.6572 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.7134, allocations: 3.094 kB / 0.6572 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.7134, allocations: 0 / 0.6572 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.7135, allocations: 0 / 0.6572 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.7149, allocations: 1.078 MB / 0.6582 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.715, allocations: 0 / 0.6582 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/0.7155, allocations: 99.92 kB / 0.6583 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007635/0.7163, allocations: 154.2 kB / 0.6585 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.7163, allocations: 19.3 kB / 0.6585 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006234/0.717, allocations: 1.181 MB / 0.6596 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.717, allocations: 1.859 kB / 0.6596 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.7181, allocations: 0.7317 MB / 0.6604 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.7183, allocations: 173.5 kB / 0.6605 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.772e-05/0.7184, allocations: 8.938 kB / 0.6605 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.7189, allocations: 42.78 kB / 0.6606 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.719, allocations: 17.41 kB / 0.6606 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.719, allocations: 17.31 kB / 0.6606 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005975/0.7196, allocations: 0.5815 MB / 0.6612 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7196, allocations: 0 / 0.6612 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001155/0.7208, allocations: 429.1 kB / 0.6616 GB, free: 7.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (dam.filter.x[1],dam.filter.x[2],vav.filter.x[1],vav.filter.x[2]) * 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 (23): * Single equations (assignments): 21 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006286/0.7214, allocations: 340.2 kB / 0.6619 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.7232, allocations: 0.9532 MB / 0.6628 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7233, allocations: 0 / 0.6628 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007085/0.724, allocations: 248.6 kB / 0.6631 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.7253, allocations: 291.4 kB / 0.6634 GB, free: 7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.7273, allocations: 1.536 MB / 0.6649 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.7278, allocations: 0.9691 MB / 0.6658 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006068/0.7284, allocations: 181.7 kB / 0.666 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.7285, allocations: 60.47 kB / 0.666 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.7285, allocations: 0 / 0.666 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of Templates: time 0.02143/0.75, allocations: 15.13 MB / 0.6808 GB, free: 15.08 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) Environment - environmentSimulation: