Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008944/0.0008943, allocations: 98.69 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.001044/0.001044, 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.503/1.503, 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 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005393/0.0005395, allocations: 16.84 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2363, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.73/0.9663, allocations: 146 MB / 0.9297 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.9773, allocations: 5.876 MB / 0.9355 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.9786, allocations: 20.19 kB / 0.9355 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.9802, allocations: 400 kB / 0.9359 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00465/0.9849, allocations: 1.076 MB / 0.9369 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007084/0.992, allocations: 1.77 MB / 0.9386 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002556/0.9945, allocations: 1.007 MB / 0.9396 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000964/0.9955, allocations: 0.5205 MB / 0.9401 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.9971, allocations: 0.6607 MB / 0.9408 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000727/0.9978, allocations: 432 kB / 0.9412 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.998, allocations: 34.53 kB / 0.9412 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/1.001, allocations: 0.7971 MB / 0.942 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000395/1.001, allocations: 228.6 kB / 0.9422 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006527/1.002, allocations: 171.9 kB / 0.9424 GB, free: 21.87 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/1.003, allocations: 0.9821 MB / 0.9433 GB, free: 21.79 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/1.003, allocations: 1 kB / 0.9433 GB, free: 21.79 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/1.003, allocations: 0 / 0.9433 GB, free: 21.79 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.059e-05/1.003, allocations: 0 / 0.9433 GB, free: 21.79 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.002732/1.006, allocations: 1.189 MB / 0.9445 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.006, allocations: 13.45 kB / 0.9445 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006421/1.007, allocations: 139.5 kB / 0.9447 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/1.008, allocations: 0.7087 MB / 0.9453 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/1.008, allocations: 35.66 kB / 0.9454 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.955e-05/1.008, allocations: 48.28 kB / 0.9454 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008669/1.009, allocations: 0.4973 MB / 0.9459 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.009, allocations: 4 kB / 0.9459 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/1.009, allocations: 20.81 kB / 0.9459 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/1.009, allocations: 13.31 kB / 0.946 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006983/1.01, allocations: 356.1 kB / 0.9463 GB, free: 20.6 MB / 0.7325 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.002749/1.013, allocations: 1.943 MB / 0.9482 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007835/1.014, allocations: 362 kB / 0.9485 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.979e-05/1.014, allocations: 11.42 kB / 0.9485 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/1.014, allocations: 41.81 kB / 0.9486 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.634e-06/1.014, allocations: 0 / 0.9486 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.001948/1.016, allocations: 0.6931 MB / 0.9493 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/1.016, allocations: 215.2 kB / 0.9495 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/1.017, allocations: 0.914 MB / 0.9504 GB, free: 19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/1.017, allocations: 37.02 kB / 0.9504 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/1.018, allocations: 365.1 kB / 0.9507 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/1.018, allocations: 95.73 kB / 0.9508 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/1.018, allocations: 4.562 kB / 0.9508 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.018, allocations: 319 kB / 0.9511 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/1.018, allocations: 161.9 kB / 0.9513 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/1.019, allocations: 369.2 kB / 0.9516 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/1.019, allocations: 200.2 kB / 0.9518 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.019, allocations: 1.156 kB / 0.9518 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001142/1.02, allocations: 0.5404 MB / 0.9524 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/1.02, allocations: 279.6 kB / 0.9526 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/1.02, allocations: 3.781 kB / 0.9526 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003426/1.021, allocations: 65.75 kB / 0.9527 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/1.021, allocations: 95.62 kB / 0.9528 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007135/1.022, allocations: 1.162 MB / 0.9539 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000903/1.023, allocations: 109.5 kB / 0.954 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/1.023, allocations: 13.06 kB / 0.954 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/1.023, allocations: 2.812 kB / 0.954 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00084/1.024, allocations: 423.1 kB / 0.9544 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.024, allocations: 4 kB / 0.9545 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/1.024, allocations: 47.3 kB / 0.9545 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/1.024, allocations: 74.77 kB / 0.9546 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/1.026, allocations: 1.483 MB / 0.956 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009877/1.027, allocations: 117.2 kB / 0.9561 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/1.027, allocations: 14.12 kB / 0.9561 GB, free: 15.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 25 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004622/1.027, allocations: 291.5 kB / 0.9564 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/1.027, allocations: 84.83 kB / 0.9565 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/1.028, allocations: 471.4 kB / 0.957 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/1.028, allocations: 3.641 kB / 0.957 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/1.028, allocations: 0 / 0.957 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.028, allocations: 1.875 kB / 0.957 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/1.03, allocations: 1.224 MB / 0.9582 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/1.03, allocations: 2.344 kB / 0.9582 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000758/1.031, allocations: 66.75 kB / 0.9582 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003914/1.032, allocations: 41.47 kB / 0.9583 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.032, allocations: 10.09 kB / 0.9583 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/1.033, allocations: 1.152 MB / 0.9594 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/1.033, allocations: 9.609 kB / 0.9594 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/1.035, allocations: 0.8098 MB / 0.9602 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/1.035, allocations: 208 kB / 0.9604 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.035, allocations: 11.31 kB / 0.9604 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/1.036, allocations: 62.84 kB / 0.9605 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/1.036, allocations: 29.66 kB / 0.9605 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/1.036, allocations: 11.97 kB / 0.9605 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009219/1.037, allocations: 0.6588 MB / 0.9611 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.037, allocations: 1.375 kB / 0.9611 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001546/1.038, allocations: 352.7 kB / 0.9615 GB, free: 12.88 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 23 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007413/1.039, allocations: 255.5 kB / 0.9617 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001964/1.041, allocations: 0.8263 MB / 0.9625 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.041, allocations: 0.9688 kB / 0.9625 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004897/1.042, allocations: 192.1 kB / 0.9627 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/1.043, allocations: 321.5 kB / 0.963 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/1.045, allocations: 1.49 MB / 0.9645 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/1.046, allocations: 0.9822 MB / 0.9654 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006244/1.046, allocations: 180.7 kB / 0.9656 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/1.047, allocations: 65.36 kB / 0.9657 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/1.047, allocations: 0 / 0.9657 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.02461/1.071, allocations: 14.38 MB / 0.9797 GB, free: 5.16 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) Environment - environmentSimulation: