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.7599/0.7599, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 181.8 kB / 187.3 MB, free: 11.88 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.456/1.456, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.0009123/0.0009124, allocations: 101.5 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 266.6 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.186e-05/4.202e-05, allocations: 4 kB / 0.6834 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4412, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.783/5.225, allocations: 1.873 GB / 2.637 GB, free: 174.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/5.225, allocations: 101.5 kB / 2.638 GB, free: 174.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.744/6.969, allocations: 462.7 MB / 3.089 GB, free: 163 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.092e-06/6.969, allocations: 3.5 kB / 3.089 GB, free: 163 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.032e-05/6.969, allocations: 20.92 kB / 3.089 GB, free: 163 MB / 0.698 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.001906/6.971, allocations: 1.009 MB / 3.09 GB, free: 162.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/6.971, allocations: 7.094 kB / 3.09 GB, free: 162.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009674/6.972, allocations: 168.8 kB / 3.091 GB, free: 162.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/6.973, allocations: 0.6909 MB / 3.091 GB, free: 162.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/6.973, allocations: 33.84 kB / 3.091 GB, free: 162.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.182e-05/6.973, allocations: 47.2 kB / 3.091 GB, free: 162.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/6.974, allocations: 421.1 kB / 3.092 GB, free: 162.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/6.974, allocations: 0 / 3.092 GB, free: 162.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/6.974, allocations: 18.44 kB / 3.092 GB, free: 162.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/6.974, allocations: 16.09 kB / 3.092 GB, free: 162.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/6.975, allocations: 295.1 kB / 3.092 GB, free: 162.3 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.002256/6.977, allocations: 1.951 MB / 3.094 GB, free: 161.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/6.977, allocations: 323.4 kB / 3.094 GB, free: 161.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/6.977, allocations: 144.4 kB / 3.094 GB, free: 161.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/6.978, allocations: 187.8 kB / 3.095 GB, free: 161.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/6.978, allocations: 41.45 kB / 3.095 GB, free: 161.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/6.978, allocations: 0 / 3.095 GB, free: 161.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.000911/6.979, allocations: 407.7 kB / 3.095 GB, free: 161 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/6.979, allocations: 54.94 kB / 3.095 GB, free: 160.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009046/6.98, allocations: 0.746 MB / 3.096 GB, free: 160.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/6.98, allocations: 39.14 kB / 3.096 GB, free: 160.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/6.98, allocations: 334.3 kB / 3.096 GB, free: 160.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.754e-05/6.98, allocations: 100.7 kB / 3.096 GB, free: 160.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/6.98, allocations: 8.031 kB / 3.096 GB, free: 160.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/6.98, allocations: 320.3 kB / 3.097 GB, free: 160.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/6.98, allocations: 101.9 kB / 3.097 GB, free: 160.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/6.981, allocations: 275.2 kB / 3.097 GB, free: 160.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/6.981, allocations: 143.5 kB / 3.097 GB, free: 160.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/6.981, allocations: 0 / 3.097 GB, free: 160.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000624/6.981, allocations: 412.5 kB / 3.097 GB, free: 160.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.976e-05/6.982, allocations: 274.7 kB / 3.098 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/6.982, allocations: 3.781 kB / 3.098 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/6.982, allocations: 41.8 kB / 3.098 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/6.982, allocations: 108.6 kB / 3.098 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005088/6.983, allocations: 1.149 MB / 3.099 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/6.984, allocations: 99.38 kB / 3.099 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/6.984, allocations: 18.58 kB / 3.099 GB, free: 158.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/6.984, allocations: 10.22 kB / 3.099 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000546/6.984, allocations: 307.2 kB / 3.099 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/6.984, allocations: 3.188 kB / 3.099 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001299/6.985, allocations: 38.83 kB / 3.099 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/6.985, allocations: 93.84 kB / 3.099 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009695/6.986, allocations: 1.464 MB / 3.101 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/6.987, allocations: 104.3 kB / 3.101 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/6.987, allocations: 10.34 kB / 3.101 GB, free: 157.3 MB / 0.698 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 () * 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.0001144/6.987, allocations: 129.5 kB / 3.101 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/6.987, allocations: 68.34 kB / 3.101 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007334/6.988, allocations: 438.3 kB / 3.102 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/6.988, allocations: 6.219 kB / 3.102 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/6.988, allocations: 0 / 3.102 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/6.988, allocations: 3.609 kB / 3.102 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/6.989, allocations: 1.203 MB / 3.103 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/6.989, allocations: 10.17 kB / 3.103 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/6.99, allocations: 71.58 kB / 3.103 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.686e-05/6.99, allocations: 38.8 kB / 3.103 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/6.99, allocations: 10.97 kB / 3.103 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003888/6.99, allocations: 1.142 MB / 3.104 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/6.99, allocations: 6.438 kB / 3.104 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008401/6.991, allocations: 0.7342 MB / 3.105 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/6.991, allocations: 219.8 kB / 3.105 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/6.991, allocations: 11.7 kB / 3.105 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006691/6.992, allocations: 67.91 kB / 3.105 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/6.992, allocations: 27.97 kB / 3.105 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/6.992, allocations: 13.38 kB / 3.105 GB, free: 155.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006552/6.993, allocations: 0.6013 MB / 3.106 GB, free: 155 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/6.993, allocations: 0 / 3.106 GB, free: 155 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00132/6.994, allocations: 431.8 kB / 3.106 GB, free: 155 MB / 0.698 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 () * 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.001498/6.996, allocations: 1.248 MB / 3.107 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001063/6.997, allocations: 0.5774 MB / 3.108 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/6.997, allocations: 0 / 3.108 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/6.997, allocations: 167.8 kB / 3.108 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/6.999, allocations: 292 kB / 3.108 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/7, allocations: 0.9236 MB / 3.109 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/7, allocations: 0.9615 MB / 3.11 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009559/7.001, allocations: 278.2 kB / 3.11 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.642e-05/7.001, allocations: 39.06 kB / 3.11 GB, free: 153.5 MB / 0.698 GB Notification: Performance of SimCode: time 7.12e-07/7.001, allocations: 2.875 kB / 3.11 GB, free: 153.5 MB / 0.698 GB Notification: Performance of Templates: time 0.04204/7.043, allocations: 31.69 MB / 3.141 GB, free: 152.8 MB / 0.698 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)