Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.AHU.Validation.IehSummer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer") translateModel(IDEAS.Airflow.AHU.Validation.IehSummer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer") [: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.003372/0.003372, allocations: 181.2 kB / 7.45 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6774/0.6774, allocations: 130.6 MB / 138.5 MB, free: 2.324 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.3 MB / 391.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 101.8 kB / 473.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.135e-06, allocations: 0 / 0.5479 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1463, allocations: 81.58 MB / 0.6276 GB, free: 18.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.374/4.52, allocations: 1.918 GB / 2.546 GB, free: 226.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/4.521, allocations: 86.83 kB / 2.546 GB, free: 226.6 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:202:5-202:64:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System TRetOut.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.Fluid.Sensors.TemperatureTwoPort$TRetOut. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd: time 4.855/9.376, allocations: 1.464 GB / 4.011 GB, free: 52.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004395/9.376, allocations: 49.73 kB / 4.011 GB, free: 52.07 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.008878/9.385, allocations: 2.339 MB / 4.013 GB, free: 50.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/9.385, allocations: 8.875 kB / 4.013 GB, free: 50.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/9.396, allocations: 1.257 MB / 4.014 GB, free: 49.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005176/9.401, allocations: 1.57 MB / 4.016 GB, free: 48.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.991e-05/9.401, allocations: 48 kB / 4.016 GB, free: 48.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005871/9.402, allocations: 92 kB / 4.016 GB, free: 48.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003466/9.405, allocations: 1.525 MB / 4.017 GB, free: 46.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004106/9.409, allocations: 1.699 MB / 4.019 GB, free: 45.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.788e-05/9.409, allocations: 7.844 kB / 4.019 GB, free: 45.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002742/9.41, allocations: 7.328 kB / 4.019 GB, free: 45.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.418e-05/9.41, allocations: 73.38 kB / 4.019 GB, free: 45.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/9.424, allocations: 7.749 MB / 4.027 GB, free: 37.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/9.427, allocations: 1.353 MB / 4.028 GB, free: 35.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008706/9.428, allocations: 0.6477 MB / 4.029 GB, free: 35.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009225/9.429, allocations: 0.7604 MB / 4.029 GB, free: 34.24 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/9.429, allocations: 47.56 kB / 4.029 GB, free: 34.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=116): time 3.566e-06/9.429, allocations: 0 / 4.029 GB, free: 34.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=120): time 0.01267/9.441, allocations: 3.974 MB / 4.033 GB, free: 30.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/9.442, allocations: 64.41 kB / 4.033 GB, free: 30.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/9.443, allocations: 0.9881 MB / 4.034 GB, free: 29.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001657/9.444, allocations: 27.23 kB / 4.034 GB, free: 29.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/9.444, allocations: 0.5735 MB / 4.035 GB, free: 28.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/9.444, allocations: 402 kB / 4.035 GB, free: 28.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/9.445, allocations: 1.969 kB / 4.035 GB, free: 28.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001021/9.445, allocations: 349.8 kB / 4.036 GB, free: 27.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008016/9.445, allocations: 0.5063 MB / 4.036 GB, free: 27.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009015/9.446, allocations: 0.7462 MB / 4.037 GB, free: 26.42 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: IEH.volBot.dynBal.medium.p = IEH.volBot.dynBal.p_start (bui.p = IEH.volBot.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: IEH.volTop.dynBal.medium.p = IEH.volTop.dynBal.p_start (bou2.p = IEH.volTop.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/9.461, allocations: 4.064 MB / 4.041 GB, free: 22.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/9.461, allocations: 0 / 4.041 GB, free: 22.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004502/9.465, allocations: 1.825 MB / 4.043 GB, free: 20.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/9.465, allocations: 4 kB / 4.043 GB, free: 20.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/9.466, allocations: 8 kB / 4.043 GB, free: 20.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/9.467, allocations: 213.8 kB / 4.043 GB, free: 20.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/9.469, allocations: 335.6 kB / 4.043 GB, free: 19.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/9.472, allocations: 3.093 MB / 4.046 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/9.475, allocations: 243.5 kB / 4.046 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/9.475, allocations: 55.95 kB / 4.046 GB, free: 16.36 MB / 0.7136 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: IEH.volBot.dynBal.medium.p = IEH.volBot.dynBal.p_start IEH.volTop.dynBal.medium.p = IEH.volTop.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003271/9.475, allocations: 135.7 kB / 4.047 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004221/9.476, allocations: 166 kB / 4.047 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004944/9.481, allocations: 1.906 MB / 4.049 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/9.481, allocations: 12 kB / 4.049 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/9.481, allocations: 0 / 4.049 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003514/9.484, allocations: 1.695 MB / 4.05 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009587/9.494, allocations: 4.633 MB / 4.055 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/9.494, allocations: 12 kB / 4.055 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/9.496, allocations: 335.5 kB / 4.055 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/9.497, allocations: 221.4 kB / 4.055 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/9.497, allocations: 35.97 kB / 4.055 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003365/9.5, allocations: 3.142 MB / 4.058 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.478e-05/9.5, allocations: 15.94 kB / 4.058 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006086/9.506, allocations: 3.467 MB / 4.062 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/9.508, allocations: 410.9 kB / 4.062 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006396/9.508, allocations: 19.98 kB / 4.062 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003058/9.512, allocations: 227.6 kB / 4.062 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/9.512, allocations: 96.42 kB / 4.062 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002201/9.512, allocations: 67.89 kB / 4.063 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001706/9.514, allocations: 0.7503 MB / 4.063 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003595/9.517, allocations: 0.6951 MB / 4.064 GB, free: 13.34 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 4 (IEH.volBot.dynBal.U,IEH.volBot.dynBal.mXi[1],IEH.volTop.dynBal.U,IEH.volTop.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006186/9.524, allocations: 3.704 MB / 4.068 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003347/9.527, allocations: 1.485 MB / 4.069 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/9.527, allocations: 4 kB / 4.069 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/9.529, allocations: 0.8799 MB / 4.07 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004543/9.533, allocations: 0.7675 MB / 4.071 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008522/9.542, allocations: 3.034 MB / 4.074 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002584/9.544, allocations: 1.703 MB / 4.075 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/9.544, allocations: 0 / 4.075 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of Templates: time 0.4484/9.993, allocations: 52.41 MB / 4.126 GB, free: 140.7 MB / 0.7292 GB make -j1 -f IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.makefile (rm -f IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.pipe ; mkfifo IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.pipe >> ../files/IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.sim & ./IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.pipe 2>&1)