Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.00104, allocations: 186.8 kB / 7.802 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4413/0.4413, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 221.4 MB / 342.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009213/0.0009212, allocations: 100.7 kB / 415.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.741e-06, allocations: 0 / 493.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.361, allocations: 72.3 MB / 0.5529 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.907/4.268, allocations: 1.865 GB / 2.418 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/4.269, allocations: 96.66 kB / 2.418 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.509/5.778, allocations: 462.1 MB / 2.87 GB, free: 127.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.54e-05/5.778, allocations: 17.97 kB / 2.87 GB, free: 127.6 MB / 0.6042 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.001984/5.78, allocations: 1.018 MB / 2.871 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/5.78, allocations: 11.03 kB / 2.871 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/5.781, allocations: 175.2 kB / 2.871 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/5.783, allocations: 0.7032 MB / 2.872 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/5.783, allocations: 11.22 kB / 2.872 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/5.783, allocations: 34.5 kB / 2.872 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004683/5.783, allocations: 278.2 kB / 2.872 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/5.784, allocations: 366.2 kB / 2.872 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/5.784, allocations: 0 / 2.872 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/5.784, allocations: 0 / 2.872 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/5.784, allocations: 23.8 kB / 2.872 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/5.786, allocations: 1.903 MB / 2.874 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/5.787, allocations: 317.8 kB / 2.874 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/5.787, allocations: 145.9 kB / 2.875 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/5.787, allocations: 195.5 kB / 2.875 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/5.787, allocations: 33.92 kB / 2.875 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/5.787, allocations: 3.969 kB / 2.875 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.00109/5.788, allocations: 411.2 kB / 2.875 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/5.788, allocations: 54.53 kB / 2.875 GB, free: 125.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007509/5.789, allocations: 0.6476 MB / 2.876 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/5.789, allocations: 29.52 kB / 2.876 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/5.789, allocations: 222.4 kB / 2.876 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.571e-05/5.789, allocations: 94.7 kB / 2.876 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/5.789, allocations: 3.188 kB / 2.876 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.521e-05/5.79, allocations: 319.6 kB / 2.876 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/5.79, allocations: 103.4 kB / 2.877 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/5.79, allocations: 268.8 kB / 2.877 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/5.79, allocations: 146.3 kB / 2.877 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/5.79, allocations: 0 / 2.877 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000703/5.791, allocations: 406.2 kB / 2.877 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.257e-05/5.791, allocations: 276.4 kB / 2.878 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/5.791, allocations: 0 / 2.878 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/5.791, allocations: 33.53 kB / 2.878 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/5.792, allocations: 104.3 kB / 2.878 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005826/5.792, allocations: 1.18 MB / 2.879 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009361/5.793, allocations: 87.42 kB / 2.879 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/5.793, allocations: 19.42 kB / 2.879 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/5.793, allocations: 6.906 kB / 2.879 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005405/5.794, allocations: 291.8 kB / 2.879 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/5.794, allocations: 0 / 2.879 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/5.794, allocations: 41.41 kB / 2.879 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/5.795, allocations: 98.66 kB / 2.879 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/5.796, allocations: 1.39 MB / 2.881 GB, free: 121.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009328/5.797, allocations: 90.73 kB / 2.881 GB, free: 121.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/5.797, allocations: 17.41 kB / 2.881 GB, free: 121.9 MB / 0.6042 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.0001411/5.797, allocations: 114.9 kB / 2.881 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/5.797, allocations: 66.34 kB / 2.881 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008081/5.798, allocations: 417.6 kB / 2.881 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/5.798, allocations: 9.547 kB / 2.881 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/5.798, allocations: 0 / 2.881 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/5.798, allocations: 7.531 kB / 2.881 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/5.799, allocations: 1.121 MB / 2.883 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/5.799, allocations: 6.906 kB / 2.883 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/5.8, allocations: 71.78 kB / 2.883 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.367e-05/5.8, allocations: 35.84 kB / 2.883 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/5.8, allocations: 6.125 kB / 2.883 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004404/5.8, allocations: 1.157 MB / 2.884 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/5.8, allocations: 4.656 kB / 2.884 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008323/5.801, allocations: 0.7293 MB / 2.885 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/5.802, allocations: 207.6 kB / 2.885 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/5.802, allocations: 11.22 kB / 2.885 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007743/5.802, allocations: 52.59 kB / 2.885 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/5.803, allocations: 31.77 kB / 2.885 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/5.803, allocations: 15.09 kB / 2.885 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000578/5.803, allocations: 0.5105 MB / 2.885 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001356/5.805, allocations: 393.9 kB / 2.886 GB, free: 119.6 MB / 0.6042 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.001934/5.807, allocations: 1.429 MB / 2.887 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001429/5.808, allocations: 0.5581 MB / 2.888 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/5.808, allocations: 0 / 2.888 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003276/5.808, allocations: 161.5 kB / 2.888 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/5.81, allocations: 221.8 kB / 2.888 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/5.812, allocations: 0.9134 MB / 2.889 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/5.812, allocations: 1.022 MB / 2.89 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.021e-06/5.812, allocations: 0 / 2.89 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.03441/5.847, allocations: 21.2 MB / 2.911 GB, free: 118 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)