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.00098/0.0009803, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009557/0.009558, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.8/1.8, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.714/1.714, allocations: 292.7 MB / 0.5502 GB, free: 14.42 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.0007994/0.000799, allocations: 16.5 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3779, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.8764/1.254, allocations: 170.3 MB / 0.9542 GB, free: 300 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01155/1.266, allocations: 6.445 MB / 0.9605 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/1.267, allocations: 20.62 kB / 0.9605 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/1.269, allocations: 365.3 kB / 0.9608 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003127/1.272, allocations: 0.9817 MB / 0.9618 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008654/1.28, allocations: 2.122 MB / 0.9639 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003754/1.284, allocations: 2.066 MB / 0.9659 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/1.285, allocations: 0.5462 MB / 0.9664 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/1.287, allocations: 0.693 MB / 0.9671 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/1.288, allocations: 0.5452 MB / 0.9676 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/1.288, allocations: 35.77 kB / 0.9676 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/1.291, allocations: 1.187 MB / 0.9688 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003856/1.292, allocations: 253.1 kB / 0.9691 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006338/1.292, allocations: 427.4 kB / 0.9695 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002525/1.295, allocations: 1.378 MB / 0.9708 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/1.295, allocations: 0 / 0.9708 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.634e-06/1.295, allocations: 0 / 0.9708 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.107e-05/1.295, allocations: 1.375 kB / 0.9708 GB, free: 14.28 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.002956/1.298, allocations: 1.182 MB / 0.972 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.298, allocations: 17.77 kB / 0.972 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007591/1.299, allocations: 138.4 kB / 0.9721 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/1.3, allocations: 0.7333 MB / 0.9728 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/1.3, allocations: 35.25 kB / 0.9729 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/1.3, allocations: 54.25 kB / 0.9729 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009966/1.301, allocations: 0.5056 MB / 0.9734 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.301, allocations: 3.938 kB / 0.9734 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/1.301, allocations: 18.62 kB / 0.9734 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/1.301, allocations: 12.83 kB / 0.9734 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/1.302, allocations: 360.6 kB / 0.9738 GB, free: 12.65 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.002935/1.305, allocations: 1.949 MB / 0.9757 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/1.306, allocations: 344.2 kB / 0.976 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004093/1.306, allocations: 177.8 kB / 0.9762 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003611/1.307, allocations: 190.5 kB / 0.9764 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.992e-05/1.307, allocations: 33.97 kB / 0.9764 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.935e-06/1.307, allocations: 0 / 0.9764 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.001975/1.309, allocations: 0.7088 MB / 0.9771 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.309, allocations: 212.6 kB / 0.9773 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.31, allocations: 0.925 MB / 0.9782 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/1.31, allocations: 39.55 kB / 0.9782 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/1.31, allocations: 351.5 kB / 0.9786 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/1.311, allocations: 97.38 kB / 0.9787 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/1.311, allocations: 43.78 kB / 0.9787 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.311, allocations: 320.3 kB / 0.979 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/1.311, allocations: 162.9 kB / 0.9792 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/1.312, allocations: 375.4 kB / 0.9795 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007348/1.312, allocations: 368.6 kB / 0.9799 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.312, allocations: 0 / 0.9799 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001343/1.314, allocations: 0.5457 MB / 0.9804 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.894e-05/1.314, allocations: 112.1 kB / 0.9805 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/1.314, allocations: 7.016 kB / 0.9805 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003461/1.314, allocations: 63.02 kB / 0.9806 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/1.315, allocations: 97.52 kB / 0.9807 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000715/1.316, allocations: 1.155 MB / 0.9818 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009802/1.317, allocations: 108.4 kB / 0.9819 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/1.317, allocations: 17.23 kB / 0.9819 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/1.317, allocations: 3.906 kB / 0.9819 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008879/1.318, allocations: 428.5 kB / 0.9823 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.318, allocations: 4.562 kB / 0.9823 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/1.318, allocations: 42.64 kB / 0.9824 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/1.318, allocations: 73.22 kB / 0.9824 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/1.319, allocations: 1.54 MB / 0.984 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/1.32, allocations: 112.1 kB / 0.9841 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/1.32, allocations: 12.12 kB / 0.9841 GB, free: 5.879 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 (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004281/1.321, allocations: 286.9 kB / 0.9843 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/1.321, allocations: 77 kB / 0.9844 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009946/1.322, allocations: 466.4 kB / 0.9849 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.322, allocations: 2.938 kB / 0.9849 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/1.322, allocations: 6.781 kB / 0.9849 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.322, allocations: 7.922 kB / 0.9849 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/1.324, allocations: 1.218 MB / 0.9861 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.324, allocations: 5.562 kB / 0.9861 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/1.324, allocations: 75.34 kB / 0.9861 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001292/1.324, allocations: 42.03 kB / 0.9862 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/1.324, allocations: 12.06 kB / 0.9862 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007511/1.325, allocations: 1.156 MB / 0.9873 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.325, allocations: 2.938 kB / 0.9873 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/1.327, allocations: 0.7443 MB / 0.9881 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/1.327, allocations: 206.7 kB / 0.9883 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/1.327, allocations: 13.64 kB / 0.9883 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007364/1.328, allocations: 58.94 kB / 0.9883 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/1.328, allocations: 33.16 kB / 0.9884 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/1.328, allocations: 9.781 kB / 0.9884 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009974/1.329, allocations: 0.6671 MB / 0.989 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/1.329, allocations: 0 / 0.989 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001253/1.331, allocations: 345.9 kB / 0.9893 GB, free: 2.078 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 (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006429/1.331, allocations: 256.8 kB / 0.9896 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001806/1.333, allocations: 0.8298 MB / 0.9904 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.333, allocations: 0 / 0.9904 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004433/1.333, allocations: 194.8 kB / 0.9906 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/1.335, allocations: 344.3 kB / 0.9909 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/1.338, allocations: 1.541 MB / 0.9924 GB, free: 104 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/1.338, allocations: 0.9613 MB / 0.9934 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007495/1.339, allocations: 184 kB / 0.9935 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/1.339, allocations: 59.09 kB / 0.9936 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of SimCode: time 5.92e-07/1.339, allocations: 1.859 kB / 0.9936 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of Templates: time 0.02688/1.366, allocations: 14.84 MB / 1.008 GB, free: 7.898 MB / 0.7481 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: