Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.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.IehWinter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter") translateModel(IDEAS.Airflow.AHU.Validation.IehWinter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter") [: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.002583/0.002583, allocations: 185.6 kB / 7.46 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6851/0.6851, allocations: 130.6 MB / 138.5 MB, free: 2.262 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.4/1.4, allocations: 221.3 MB / 391.4 MB, free: 13.08 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.0009257/0.0009257, allocations: 101.1 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.261e-06/6.302e-06, allocations: 0 / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1441, allocations: 81.58 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.408/4.552, allocations: 1.919 GB / 2.546 GB, free: 227.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/4.552, allocations: 85.02 kB / 2.546 GB, free: 227 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 7.93/12.48, allocations: 2.188 GB / 4.734 GB, free: 75.63 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002943/12.48, allocations: 53 kB / 4.734 GB, free: 75.62 MB / 0.7292 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.008605/12.49, allocations: 2.344 MB / 4.736 GB, free: 74.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/12.49, allocations: 9.656 kB / 4.736 GB, free: 74.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/12.5, allocations: 1.259 MB / 4.738 GB, free: 74.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005689/12.51, allocations: 1.565 MB / 4.739 GB, free: 74.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/12.51, allocations: 46.34 kB / 4.739 GB, free: 74.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008212/12.51, allocations: 91 kB / 4.739 GB, free: 74.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004272/12.51, allocations: 1.525 MB / 4.741 GB, free: 74.17 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004925/12.52, allocations: 1.709 MB / 4.742 GB, free: 73.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.436e-05/12.52, allocations: 0 / 4.742 GB, free: 73.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004095/12.52, allocations: 3.875 kB / 4.742 GB, free: 73.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-05/12.52, allocations: 73.31 kB / 4.743 GB, free: 73.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01593/12.53, allocations: 7.767 MB / 4.75 GB, free: 70.92 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/12.54, allocations: 1.357 MB / 4.751 GB, free: 70.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/12.54, allocations: 0.6489 MB / 4.752 GB, free: 70.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009555/12.54, allocations: 0.7554 MB / 4.753 GB, free: 70.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/12.54, allocations: 49.34 kB / 4.753 GB, free: 70.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=116): time 2.736e-06/12.54, allocations: 0 / 4.753 GB, free: 70.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=120): time 0.0141/12.55, allocations: 3.975 MB / 4.757 GB, free: 69.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/12.55, allocations: 64.91 kB / 4.757 GB, free: 69.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002373/12.56, allocations: 0.9778 MB / 4.758 GB, free: 69.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003038/12.56, allocations: 29.52 kB / 4.758 GB, free: 69.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/12.56, allocations: 0.5693 MB / 4.758 GB, free: 68.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006825/12.56, allocations: 399.6 kB / 4.759 GB, free: 68.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/12.56, allocations: 1.656 kB / 4.759 GB, free: 68.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001338/12.56, allocations: 352.3 kB / 4.759 GB, free: 68.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009539/12.56, allocations: 0.5013 MB / 4.76 GB, free: 68.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/12.56, allocations: 0.7491 MB / 4.76 GB, free: 68 MB / 0.7292 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.01572/12.58, allocations: 3.973 MB / 4.764 GB, free: 67.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/12.58, allocations: 6.5 kB / 4.764 GB, free: 67.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005906/12.58, allocations: 1.825 MB / 4.766 GB, free: 67.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/12.58, allocations: 3.562 kB / 4.766 GB, free: 67.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/12.58, allocations: 6.031 kB / 4.766 GB, free: 67.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/12.58, allocations: 211.5 kB / 4.766 GB, free: 67.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/12.59, allocations: 343.6 kB / 4.767 GB, free: 67.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/12.59, allocations: 3.095 MB / 4.77 GB, free: 65.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/12.59, allocations: 235.9 kB / 4.77 GB, free: 65.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003557/12.59, allocations: 63.86 kB / 4.77 GB, free: 65.14 MB / 0.7292 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.0004888/12.59, allocations: 140.5 kB / 4.77 GB, free: 65.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005751/12.59, allocations: 163.4 kB / 4.77 GB, free: 64.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005585/12.6, allocations: 1.908 MB / 4.772 GB, free: 64.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/12.6, allocations: 15.75 kB / 4.772 GB, free: 64.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/12.6, allocations: 0 / 4.772 GB, free: 64.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003825/12.6, allocations: 1.686 MB / 4.774 GB, free: 64.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/12.61, allocations: 4.633 MB / 4.778 GB, free: 63.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/12.61, allocations: 11.28 kB / 4.778 GB, free: 63.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/12.62, allocations: 328 kB / 4.778 GB, free: 63.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/12.62, allocations: 225.1 kB / 4.779 GB, free: 63.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/12.62, allocations: 36.08 kB / 4.779 GB, free: 63.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003315/12.62, allocations: 3.143 MB / 4.782 GB, free: 61.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/12.62, allocations: 16.59 kB / 4.782 GB, free: 61.2 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005963/12.63, allocations: 3.472 MB / 4.785 GB, free: 59.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/12.63, allocations: 413.7 kB / 4.786 GB, free: 59.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005984/12.63, allocations: 15.02 kB / 4.786 GB, free: 59.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002627/12.63, allocations: 225.7 kB / 4.786 GB, free: 59.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/12.63, allocations: 102.3 kB / 4.786 GB, free: 59.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/12.63, allocations: 63.44 kB / 4.786 GB, free: 59.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001401/12.63, allocations: 0.7431 MB / 4.787 GB, free: 59.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003373/12.64, allocations: 0.7007 MB / 4.787 GB, free: 59.38 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.005639/12.64, allocations: 3.699 MB / 4.791 GB, free: 58.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003218/12.65, allocations: 1.477 MB / 4.792 GB, free: 57.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/12.65, allocations: 3.969 kB / 4.792 GB, free: 57.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/12.65, allocations: 0.8817 MB / 4.793 GB, free: 57.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/12.65, allocations: 0.7646 MB / 4.794 GB, free: 57.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008477/12.66, allocations: 3.043 MB / 4.797 GB, free: 56.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002632/12.66, allocations: 1.7 MB / 4.799 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of SimCode: time 1.262e-06/12.66, allocations: 2.734 kB / 4.799 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.08492/12.75, allocations: 52.42 MB / 4.85 GB, free: 39.8 MB / 0.7292 GB make -j1 -f IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.makefile (rm -f IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.pipe ; mkfifo IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.pipe >> ../files/IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.sim & ./IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.pipe 2>&1)