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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009304/0.0009304, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001014/0.001014, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 271 kB / 291.4 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9946/0.9946, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005129/0.0005131, allocations: 19.84 kB / 0.598 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2003, allocations: 88.53 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.5715/0.7718, allocations: 158.7 MB / 0.8395 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0064/0.7782, allocations: 3.112 MB / 0.8425 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.7795, allocations: 17.34 kB / 0.8425 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.7806, allocations: 231.1 kB / 0.8427 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.784, allocations: 0.7956 MB / 0.8435 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.7872, allocations: 0.7839 MB / 0.8443 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002558/0.7897, allocations: 1.692 MB / 0.8459 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.791, allocations: 481.1 kB / 0.8464 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.7929, allocations: 0.6551 MB / 0.847 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.7941, allocations: 0.5188 MB / 0.8475 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002824/0.7944, allocations: 35.38 kB / 0.8476 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.7963, allocations: 0.673 MB / 0.8482 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004618/0.7968, allocations: 235.2 kB / 0.8485 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004366/0.7973, allocations: 159.7 kB / 0.8486 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.7988, allocations: 0.8649 MB / 0.8495 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7989, allocations: 0 / 0.8495 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7989, allocations: 0 / 0.8495 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.286e-05/0.7989, allocations: 2.656 kB / 0.8495 GB, free: 15.97 MB / 0.5762 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.003164/0.8021, allocations: 1.136 MB / 0.8506 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.8021, allocations: 10.84 kB / 0.8506 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007852/0.8029, allocations: 133.1 kB / 0.8507 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.8045, allocations: 0.6844 MB / 0.8514 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.8045, allocations: 32.47 kB / 0.8514 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.724e-05/0.8046, allocations: 44.69 kB / 0.8515 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009412/0.8056, allocations: 468.7 kB / 0.8519 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.8056, allocations: 3.984 kB / 0.8519 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.8057, allocations: 14.94 kB / 0.8519 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.8057, allocations: 18.42 kB / 0.8519 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007824/0.8065, allocations: 363.4 kB / 0.8523 GB, free: 14.01 MB / 0.5762 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.002911/0.8094, allocations: 1.916 MB / 0.8542 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.81, allocations: 298.2 kB / 0.8544 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.8103, allocations: 167.4 kB / 0.8546 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.8106, allocations: 194.9 kB / 0.8548 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.8106, allocations: 40.98 kB / 0.8548 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 2.394e-06/0.8106, allocations: 0 / 0.8548 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.001863/0.8125, allocations: 0.6889 MB / 0.8555 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.8126, allocations: 62.22 kB / 0.8556 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.8139, allocations: 0.8747 MB / 0.8564 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.814, allocations: 32.61 kB / 0.8564 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.8142, allocations: 337.2 kB / 0.8568 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.8143, allocations: 92.53 kB / 0.8568 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.8144, allocations: 4 kB / 0.8569 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.8145, allocations: 320.8 kB / 0.8572 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.8148, allocations: 126.9 kB / 0.8573 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.8152, allocations: 290 kB / 0.8576 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.8156, allocations: 165 kB / 0.8577 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8156, allocations: 0 / 0.8577 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001054/0.8166, allocations: 465.8 kB / 0.8582 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.661e-05/0.8167, allocations: 112.6 kB / 0.8583 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.8167, allocations: 3.953 kB / 0.8583 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003326/0.8171, allocations: 57.94 kB / 0.8583 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/0.8176, allocations: 103.2 kB / 0.8584 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007566/0.8184, allocations: 1.15 MB / 0.8595 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/0.8193, allocations: 119.5 kB / 0.8597 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.8193, allocations: 11.22 kB / 0.8597 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/0.8194, allocations: 2.906 kB / 0.8597 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00072/0.8201, allocations: 341.6 kB / 0.86 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.8201, allocations: 0 / 0.86 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/0.8203, allocations: 44.55 kB / 0.86 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.8206, allocations: 85 kB / 0.8601 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.822, allocations: 1.483 MB / 0.8616 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008814/0.8229, allocations: 107.8 kB / 0.8617 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.8229, allocations: 5.781 kB / 0.8617 GB, free: 6.457 MB / 0.5762 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 (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 prepare postOptimizeDAE: time 0.0003539/0.8233, allocations: 280.5 kB / 0.8619 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.8234, allocations: 70.66 kB / 0.862 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.8245, allocations: 466.5 kB / 0.8625 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.8245, allocations: 6.906 kB / 0.8625 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.8245, allocations: 0 / 0.8625 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.8245, allocations: 3.984 kB / 0.8625 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.8267, allocations: 1.217 MB / 0.8637 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8267, allocations: 2.938 kB / 0.8637 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.8271, allocations: 66.28 kB / 0.8637 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.8272, allocations: 42.03 kB / 0.8638 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.8273, allocations: 19.19 kB / 0.8638 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006924/0.828, allocations: 1.148 MB / 0.8649 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.828, allocations: 3.188 kB / 0.8649 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.8292, allocations: 0.7204 MB / 0.8656 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.8296, allocations: 208.7 kB / 0.8658 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.8297, allocations: 21.28 kB / 0.8658 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/0.8304, allocations: 54.06 kB / 0.8659 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.8305, allocations: 28.84 kB / 0.8659 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.8305, allocations: 12.41 kB / 0.8659 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001067/0.8316, allocations: 0.6346 MB / 0.8665 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8316, allocations: 0 / 0.8665 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001127/0.8327, allocations: 310.4 kB / 0.8668 GB, free: 2.68 MB / 0.5762 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 (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.0005405/0.8333, allocations: 202.3 kB / 0.867 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.8349, allocations: 0.628 MB / 0.8676 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8349, allocations: 0 / 0.8676 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.8354, allocations: 193.1 kB / 0.8678 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.8369, allocations: 301.5 kB / 0.8681 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.8393, allocations: 1.431 MB / 0.8695 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.8399, allocations: 0.9442 MB / 0.8704 GB, free: 184 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007559/0.8407, allocations: 173.2 kB / 0.8706 GB, free: 104 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.8409, allocations: 53.84 kB / 0.8706 GB, free: 88 kB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.8409, allocations: 4 kB / 0.8707 GB, free: 84 kB / 0.5762 GB Notification: Performance of Templates: time 0.02423/0.8652, allocations: 12.66 MB / 0.883 GB, free: 4.363 MB / 0.5919 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)