Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7899/0.7899, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.00106, allocations: 181 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 447.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009669/0.0009671, allocations: 100.3 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 265.5 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004496, allocations: 13.03 kB / 0.6929 GB, free: 59.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1766, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.31/4.487, allocations: 1.873 GB / 2.647 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/4.487, allocations: 102.8 kB / 2.647 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.49/5.977, allocations: 463.1 MB / 3.099 GB, free: 170 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.186e-06/5.977, allocations: 0 / 3.099 GB, free: 170 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.399e-05/5.977, allocations: 23.61 kB / 3.099 GB, free: 170 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003313/5.98, allocations: 1.273 MB / 3.101 GB, free: 169.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/5.981, allocations: 9.344 kB / 3.101 GB, free: 169.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/5.982, allocations: 170.2 kB / 3.101 GB, free: 169.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/5.983, allocations: 0.715 MB / 3.101 GB, free: 169.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/5.983, allocations: 31 kB / 3.101 GB, free: 169.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/5.983, allocations: 44.69 kB / 3.101 GB, free: 169.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008402/5.984, allocations: 456.8 kB / 3.102 GB, free: 169.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/5.984, allocations: 3.938 kB / 3.102 GB, free: 169.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/5.984, allocations: 13.47 kB / 3.102 GB, free: 169.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/5.984, allocations: 15.67 kB / 3.102 GB, free: 169.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/5.985, allocations: 356 kB / 3.102 GB, free: 169.2 MB / 0.7136 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.002639/5.988, allocations: 1.956 MB / 3.104 GB, free: 168.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/5.988, allocations: 372.5 kB / 3.105 GB, free: 168.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/5.988, allocations: 191.7 kB / 3.105 GB, free: 168 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/5.989, allocations: 37.48 kB / 3.105 GB, free: 168 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/5.989, allocations: 2.156 kB / 3.105 GB, free: 168 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.001749/5.99, allocations: 0.6751 MB / 3.105 GB, free: 167.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/5.99, allocations: 59.38 kB / 3.105 GB, free: 167.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/5.992, allocations: 0.776 MB / 3.106 GB, free: 167.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/5.992, allocations: 37.05 kB / 3.106 GB, free: 167.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/5.992, allocations: 332 kB / 3.107 GB, free: 167.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.784e-05/5.992, allocations: 100.4 kB / 3.107 GB, free: 167.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/5.992, allocations: 4.938 kB / 3.107 GB, free: 167.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/5.992, allocations: 322.9 kB / 3.107 GB, free: 167.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/5.993, allocations: 135.9 kB / 3.107 GB, free: 167.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/5.993, allocations: 308.4 kB / 3.107 GB, free: 167 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/5.993, allocations: 163.4 kB / 3.108 GB, free: 167 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/5.993, allocations: 3.844 kB / 3.108 GB, free: 167 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001006/5.994, allocations: 468.3 kB / 3.108 GB, free: 166.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/5.995, allocations: 271.5 kB / 3.108 GB, free: 166.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/5.995, allocations: 1.594 kB / 3.108 GB, free: 166.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/5.995, allocations: 42.34 kB / 3.108 GB, free: 166.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000626/5.995, allocations: 109.1 kB / 3.108 GB, free: 166.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005329/5.996, allocations: 1.149 MB / 3.11 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009624/5.997, allocations: 102.4 kB / 3.11 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/5.997, allocations: 11.09 kB / 3.11 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/5.997, allocations: 7.406 kB / 3.11 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000805/5.998, allocations: 369.5 kB / 3.11 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/5.998, allocations: 5.281 kB / 3.11 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/5.998, allocations: 36.5 kB / 3.11 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/5.999, allocations: 99.88 kB / 3.11 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/6, allocations: 1.474 MB / 3.112 GB, free: 164.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000932/6.001, allocations: 104.7 kB / 3.112 GB, free: 164.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/6.001, allocations: 18.47 kB / 3.112 GB, free: 164.1 MB / 0.7136 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 (29): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0003533/6.001, allocations: 280.5 kB / 3.112 GB, free: 163.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/6.001, allocations: 74.69 kB / 3.112 GB, free: 163.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009865/6.002, allocations: 493.1 kB / 3.113 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/6.002, allocations: 2.375 kB / 3.113 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/6.002, allocations: 4.562 kB / 3.113 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/6.002, allocations: 3.656 kB / 3.113 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/6.004, allocations: 1.259 MB / 3.114 GB, free: 163.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/6.004, allocations: 1.094 kB / 3.114 GB, free: 163.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/6.005, allocations: 71.38 kB / 3.114 GB, free: 163.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/6.005, allocations: 39.62 kB / 3.114 GB, free: 163.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/6.005, allocations: 9.219 kB / 3.114 GB, free: 163.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004081/6.005, allocations: 1.153 MB / 3.115 GB, free: 162.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/6.005, allocations: 1.062 kB / 3.115 GB, free: 162.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/6.006, allocations: 0.828 MB / 3.116 GB, free: 162 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/6.007, allocations: 218.4 kB / 3.116 GB, free: 161.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.882e-05/6.007, allocations: 12.38 kB / 3.116 GB, free: 161.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000747/6.008, allocations: 57.09 kB / 3.116 GB, free: 161.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/6.008, allocations: 33.2 kB / 3.116 GB, free: 161.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/6.008, allocations: 9.531 kB / 3.116 GB, free: 161.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009181/6.009, allocations: 0.6267 MB / 3.117 GB, free: 161.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/6.009, allocations: 1.375 kB / 3.117 GB, free: 161.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001538/6.01, allocations: 429.9 kB / 3.117 GB, free: 161.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],vav.filter.s[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 (27): * Single equations (assignments): 25 * 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.001716/6.012, allocations: 1.249 MB / 3.118 GB, free: 161.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001556/6.013, allocations: 0.6385 MB / 3.119 GB, free: 161.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/6.013, allocations: 0 / 3.119 GB, free: 161.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004274/6.014, allocations: 197.8 kB / 3.119 GB, free: 161.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/6.015, allocations: 293.6 kB / 3.119 GB, free: 161.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/6.017, allocations: 1.427 MB / 3.121 GB, free: 160.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/6.017, allocations: 0.9508 MB / 3.122 GB, free: 160 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006639/6.018, allocations: 176.9 kB / 3.122 GB, free: 160 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/6.018, allocations: 61.59 kB / 3.122 GB, free: 159.9 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/6.018, allocations: 0 / 3.122 GB, free: 159.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.03464/6.053, allocations: 27.19 MB / 3.149 GB, free: 159.6 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)