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.0008414/0.0008414, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001013/0.001013, allocations: 168.7 kB / 15.95 MB, free: 204 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.466/1.466, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.769/1.769, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005562/0.0005563, allocations: 11.5 kB / 0.6737 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2684, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.7279/0.9964, allocations: 158.9 MB / 0.9424 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0094/1.006, allocations: 5.815 MB / 0.9481 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008371/1.007, allocations: 20.22 kB / 0.9481 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009589/1.008, allocations: 288.6 kB / 0.9484 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002171/1.01, allocations: 0.7926 MB / 0.9492 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008531/1.018, allocations: 1.946 MB / 0.9511 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002499/1.021, allocations: 1.781 MB / 0.9528 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008326/1.022, allocations: 0.5031 MB / 0.9533 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/1.023, allocations: 0.6663 MB / 0.954 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006363/1.024, allocations: 0.5233 MB / 0.9545 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/1.024, allocations: 34.12 kB / 0.9545 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/1.026, allocations: 0.7832 MB / 0.9553 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/1.026, allocations: 236.8 kB / 0.9555 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004208/1.026, allocations: 173.9 kB / 0.9557 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/1.028, allocations: 0.9913 MB / 0.9566 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.028, allocations: 0 / 0.9566 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.174e-06/1.028, allocations: 0 / 0.9566 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.84e-05/1.028, allocations: 1.25 kB / 0.9566 GB, free: 20.21 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.002415/1.03, allocations: 1.188 MB / 0.9578 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/1.03, allocations: 12.7 kB / 0.9578 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006232/1.031, allocations: 137.6 kB / 0.9579 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/1.032, allocations: 0.7055 MB / 0.9586 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/1.032, allocations: 38.33 kB / 0.9587 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.532e-05/1.032, allocations: 48.31 kB / 0.9587 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008776/1.033, allocations: 0.4977 MB / 0.9592 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.033, allocations: 4 kB / 0.9592 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/1.033, allocations: 20.7 kB / 0.9592 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/1.033, allocations: 8.625 kB / 0.9592 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/1.034, allocations: 359.6 kB / 0.9596 GB, free: 19.01 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.002502/1.036, allocations: 1.939 MB / 0.9615 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/1.037, allocations: 348.8 kB / 0.9618 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/1.038, allocations: 175.3 kB / 0.962 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/1.038, allocations: 191.5 kB / 0.9621 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/1.038, allocations: 37.09 kB / 0.9622 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/1.038, allocations: 0 / 0.9622 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.001839/1.04, allocations: 0.6984 MB / 0.9629 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.04, allocations: 216.5 kB / 0.9631 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/1.041, allocations: 0.9137 MB / 0.964 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/1.041, allocations: 37.3 kB / 0.964 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/1.042, allocations: 368.3 kB / 0.9643 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/1.042, allocations: 92.72 kB / 0.9644 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/1.042, allocations: 7.094 kB / 0.9644 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.042, allocations: 327 kB / 0.9647 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/1.042, allocations: 157.8 kB / 0.9649 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/1.043, allocations: 374.4 kB / 0.9653 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/1.043, allocations: 197.4 kB / 0.9654 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.043, allocations: 5.328 kB / 0.9654 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00106/1.044, allocations: 0.5379 MB / 0.966 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/1.044, allocations: 111.2 kB / 0.9661 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.044, allocations: 2.312 kB / 0.9661 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003246/1.045, allocations: 64.5 kB / 0.9661 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/1.045, allocations: 94.08 kB / 0.9662 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007201/1.046, allocations: 1.149 MB / 0.9674 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008636/1.047, allocations: 110 kB / 0.9675 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/1.047, allocations: 20.48 kB / 0.9675 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.047, allocations: 5.719 kB / 0.9675 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008184/1.048, allocations: 433.6 kB / 0.9679 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.048, allocations: 2.844 kB / 0.9679 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/1.048, allocations: 36.97 kB / 0.9679 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/1.048, allocations: 78.02 kB / 0.968 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/1.049, allocations: 1.474 MB / 0.9695 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007962/1.05, allocations: 114.2 kB / 0.9696 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/1.05, allocations: 13.77 kB / 0.9696 GB, free: 13.62 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.0003918/1.051, allocations: 289.3 kB / 0.9698 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/1.051, allocations: 83.16 kB / 0.9699 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008772/1.052, allocations: 472 kB / 0.9704 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.052, allocations: 7.109 kB / 0.9704 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/1.052, allocations: 4 kB / 0.9704 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.052, allocations: 1.531 kB / 0.9704 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/1.053, allocations: 1.213 MB / 0.9716 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.053, allocations: 7.594 kB / 0.9716 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/1.054, allocations: 70.44 kB / 0.9716 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.366e-05/1.054, allocations: 40.52 kB / 0.9717 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/1.054, allocations: 13.22 kB / 0.9717 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00068/1.055, allocations: 1.16 MB / 0.9728 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.055, allocations: 0 / 0.9728 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/1.056, allocations: 0.7445 MB / 0.9736 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/1.056, allocations: 209.4 kB / 0.9738 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.836e-05/1.056, allocations: 10.81 kB / 0.9738 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/1.057, allocations: 60.48 kB / 0.9738 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/1.057, allocations: 32.2 kB / 0.9739 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/1.057, allocations: 11.28 kB / 0.9739 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008062/1.057, allocations: 0.6574 MB / 0.9745 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.057, allocations: 3.938 kB / 0.9745 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001173/1.059, allocations: 349 kB / 0.9748 GB, free: 11.23 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.0005981/1.059, allocations: 243.7 kB / 0.9751 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001688/1.061, allocations: 0.8226 MB / 0.9759 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.061, allocations: 1 kB / 0.9759 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000408/1.061, allocations: 195.5 kB / 0.9761 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/1.063, allocations: 324 kB / 0.9764 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/1.065, allocations: 1.499 MB / 0.9778 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/1.065, allocations: 0.9627 MB / 0.9788 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006939/1.066, allocations: 183.9 kB / 0.979 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/1.066, allocations: 58.61 kB / 0.979 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/1.066, allocations: 1.859 kB / 0.979 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of Templates: time 0.02435/1.091, allocations: 14.4 MB / 0.9931 GB, free: 1.879 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: