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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.3 MB / 308.1 MB, free: 4.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 199.7 kB / 376.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.00102, allocations: 98.25 kB / 0.748 GB, free: 61.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 47.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2903, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.7013/0.9916, allocations: 172.5 MB / 1.151 GB, free: 8.777 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01063/1.002, allocations: 6.51 MB / 1.157 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009283/1.003, allocations: 21.31 kB / 1.157 GB, free: 4.617 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/1.004, allocations: 369.3 kB / 1.157 GB, free: 4.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002441/1.007, allocations: 0.976 MB / 1.158 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.006435/1.013, allocations: 2.111 MB / 1.16 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002693/1.016, allocations: 2.09 MB / 1.163 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008215/1.017, allocations: 0.5483 MB / 1.163 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/1.018, allocations: 0.7107 MB / 1.164 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006482/1.019, allocations: 0.565 MB / 1.164 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/1.019, allocations: 39.62 kB / 1.164 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/1.021, allocations: 1.197 MB / 1.166 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002653/1.021, allocations: 253.8 kB / 1.166 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000409/1.022, allocations: 411.8 kB / 1.166 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/1.023, allocations: 1.394 MB / 1.167 GB, free: 200 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.023, allocations: 0 / 1.167 GB, free: 200 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.182e-06/1.023, allocations: 0 / 1.167 GB, free: 200 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.247e-06/1.023, allocations: 0 / 1.167 GB, free: 200 kB / 0.7605 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.002866/1.026, allocations: 1.348 MB / 1.169 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.026, allocations: 17.52 kB / 1.169 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006223/1.027, allocations: 143 kB / 1.169 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/1.028, allocations: 0.7377 MB / 1.17 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/1.028, allocations: 34.12 kB / 1.17 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/1.028, allocations: 53.53 kB / 1.17 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007918/1.029, allocations: 0.4937 MB / 1.17 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.029, allocations: 0 / 1.17 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/1.029, allocations: 19.12 kB / 1.17 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/1.029, allocations: 13.12 kB / 1.17 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006872/1.03, allocations: 344.3 kB / 1.171 GB, free: 14.4 MB / 0.7761 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.002667/1.033, allocations: 1.935 MB / 1.173 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/1.033, allocations: 348.5 kB / 1.173 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/1.034, allocations: 162.2 kB / 1.173 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/1.034, allocations: 193.3 kB / 1.173 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/1.034, allocations: 38.16 kB / 1.173 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/1.034, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26): time 0.001832/1.036, allocations: 0.6752 MB / 1.174 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.036, allocations: 213 kB / 1.174 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/1.037, allocations: 0.9235 MB / 1.175 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/1.037, allocations: 44.34 kB / 1.175 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/1.037, allocations: 354.4 kB / 1.175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.159e-05/1.038, allocations: 89.67 kB / 1.175 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/1.038, allocations: 96.05 kB / 1.176 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.038, allocations: 320.5 kB / 1.176 GB, free: 11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/1.038, allocations: 168.8 kB / 1.176 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/1.039, allocations: 364.4 kB / 1.176 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006796/1.04, allocations: 347.9 kB / 1.177 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.04, allocations: 0 / 1.177 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001333/1.041, allocations: 0.5439 MB / 1.177 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.041, allocations: 6.656 kB / 1.177 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/1.041, allocations: 3.406 kB / 1.177 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/1.041, allocations: 64.36 kB / 1.177 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/1.042, allocations: 85.11 kB / 1.177 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007491/1.043, allocations: 1.159 MB / 1.178 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008459/1.043, allocations: 98.42 kB / 1.179 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/1.043, allocations: 13.75 kB / 1.179 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005465/1.044, allocations: 328.4 kB / 1.179 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005137/1.045, allocations: 368.8 kB / 1.179 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006243/1.045, allocations: 357 kB / 1.18 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/1.045, allocations: 0 / 1.18 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001005/1.046, allocations: 0.5144 MB / 1.18 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/1.046, allocations: 10.28 kB / 1.18 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.046, allocations: 6.875 kB / 1.18 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/1.046, allocations: 34.56 kB / 1.18 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/1.047, allocations: 80.41 kB / 1.18 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/1.048, allocations: 1.516 MB / 1.182 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000952/1.049, allocations: 120.3 kB / 1.182 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/1.049, allocations: 12.75 kB / 1.182 GB, free: 6.777 MB / 0.7761 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.0001928/1.049, allocations: 213.2 kB / 1.182 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/1.049, allocations: 77.66 kB / 1.182 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009682/1.05, allocations: 456.2 kB / 1.183 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.05, allocations: 3.188 kB / 1.183 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.05, allocations: 7.562 kB / 1.183 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.05, allocations: 0 / 1.183 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/1.052, allocations: 1.203 MB / 1.184 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.052, allocations: 0 / 1.184 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/1.053, allocations: 69.48 kB / 1.184 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/1.053, allocations: 40.31 kB / 1.184 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/1.053, allocations: 11.47 kB / 1.184 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006135/1.053, allocations: 1.151 MB / 1.185 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.053, allocations: 7.188 kB / 1.185 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003658/1.057, allocations: 2.78 MB / 1.188 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/1.057, allocations: 212.7 kB / 1.188 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/1.058, allocations: 13.39 kB / 1.188 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006101/1.058, allocations: 51.91 kB / 1.188 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/1.058, allocations: 26.72 kB / 1.188 GB, free: 2.551 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/1.058, allocations: 20.31 kB / 1.188 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000861/1.059, allocations: 0.662 MB / 1.189 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.41e-07/1.059, allocations: 0 / 1.189 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001465/1.061, allocations: 470.1 kB / 1.189 GB, free: 2.215 MB / 0.7761 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.0005782/1.061, allocations: 255.7 kB / 1.189 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00178/1.063, allocations: 0.8052 MB / 1.19 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.063, allocations: 1.281 kB / 1.19 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004487/1.063, allocations: 178.7 kB / 1.19 GB, free: 1.637 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/1.065, allocations: 337.4 kB / 1.191 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/1.067, allocations: 1.721 MB / 1.192 GB, free: 436 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/1.068, allocations: 0.9681 MB / 1.193 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006945/1.069, allocations: 192.9 kB / 1.193 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/1.069, allocations: 59.08 kB / 1.193 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of SimCode: time 8.72e-07/1.069, allocations: 0 / 1.193 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of Templates: time 0.03363/1.103, allocations: 15.48 MB / 1.209 GB, free: 14.64 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (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)