Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.AHU.Validation.IehWinter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter") translateModel(IDEAS.Airflow.AHU.Validation.IehWinter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.004515/0.004515, allocations: 177 kB / 7.46 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7974/0.7974, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.3 MB / 395 MB, free: 10.25 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.001048/0.001048, allocations: 86.3 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.282e-06/6.312e-06, allocations: 0 / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 82.29 MB / 0.6332 GB, free: 14.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.865/4.003, allocations: 1.919 GB / 2.552 GB, free: 26.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/4.004, allocations: 83.95 kB / 2.552 GB, free: 26.14 MB / 0.6823 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.587/11.59, allocations: 2.191 GB / 4.743 GB, free: 20.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002181/11.59, allocations: 52.2 kB / 4.743 GB, free: 20.12 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.006539/11.6, allocations: 2.35 MB / 4.746 GB, free: 17.72 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/11.6, allocations: 11.97 kB / 4.746 GB, free: 17.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009769/11.61, allocations: 1.253 MB / 4.747 GB, free: 16.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/11.61, allocations: 1.564 MB / 4.748 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-05/11.61, allocations: 52 kB / 4.748 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005697/11.61, allocations: 91.91 kB / 4.748 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003292/11.61, allocations: 1.525 MB / 4.75 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003254/11.62, allocations: 1.706 MB / 4.752 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/11.62, allocations: 4 kB / 4.752 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/11.62, allocations: 0 / 4.752 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-05/11.62, allocations: 78.78 kB / 4.752 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/11.63, allocations: 7.778 MB / 4.759 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/11.63, allocations: 1.351 MB / 4.761 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007919/11.63, allocations: 0.6594 MB / 4.761 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008126/11.63, allocations: 0.7517 MB / 4.762 GB, free: 292 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/11.63, allocations: 51.56 kB / 4.762 GB, free: 232 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=116): time 3.015e-06/11.63, allocations: 0 / 4.762 GB, free: 232 kB / 0.7448 GB Notification: Performance of matching and sorting (n=120): time 0.4001/12.03, allocations: 3.971 MB / 4.766 GB, free: 141.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/12.03, allocations: 63.62 kB / 4.766 GB, free: 141.6 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/12.04, allocations: 0.9783 MB / 4.767 GB, free: 141.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/12.04, allocations: 25.7 kB / 4.767 GB, free: 141.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/12.04, allocations: 0.574 MB / 4.768 GB, free: 141.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/12.04, allocations: 401.9 kB / 4.768 GB, free: 141 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/12.04, allocations: 3.594 kB / 4.768 GB, free: 141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.4e-05/12.04, allocations: 348.6 kB / 4.768 GB, free: 140.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007443/12.04, allocations: 0.5045 MB / 4.769 GB, free: 140.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008809/12.04, allocations: 0.7443 MB / 4.769 GB, free: 140.4 MB / 0.7448 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.01442/12.05, allocations: 3.97 MB / 4.773 GB, free: 140.2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/12.05, allocations: 0 / 4.773 GB, free: 140.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004604/12.06, allocations: 1.822 MB / 4.775 GB, free: 140.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/12.06, allocations: 6.531 kB / 4.775 GB, free: 140.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/12.06, allocations: 6.25 kB / 4.775 GB, free: 140.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/12.06, allocations: 217.6 kB / 4.775 GB, free: 140 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/12.06, allocations: 339.9 kB / 4.776 GB, free: 140 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003688/12.06, allocations: 3.089 MB / 4.779 GB, free: 137.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/12.07, allocations: 243.8 kB / 4.779 GB, free: 137.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/12.07, allocations: 71.75 kB / 4.779 GB, free: 137.6 MB / 0.7448 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.0003349/12.07, allocations: 127.6 kB / 4.779 GB, free: 137.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/12.07, allocations: 163.2 kB / 4.779 GB, free: 137.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/12.07, allocations: 1.902 MB / 4.781 GB, free: 137.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/12.07, allocations: 11.66 kB / 4.781 GB, free: 137.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/12.07, allocations: 2.875 kB / 4.781 GB, free: 137.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003529/12.08, allocations: 1.692 MB / 4.783 GB, free: 137 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008834/12.09, allocations: 4.641 MB / 4.787 GB, free: 136.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/12.09, allocations: 15.97 kB / 4.787 GB, free: 136.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/12.09, allocations: 327.3 kB / 4.788 GB, free: 136.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/12.09, allocations: 224.6 kB / 4.788 GB, free: 136.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/12.09, allocations: 31.59 kB / 4.788 GB, free: 136.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003225/12.09, allocations: 3.143 MB / 4.791 GB, free: 133.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/12.09, allocations: 17.44 kB / 4.791 GB, free: 133.7 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00571/12.1, allocations: 3.469 MB / 4.794 GB, free: 132.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/12.1, allocations: 414.9 kB / 4.795 GB, free: 132 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/12.1, allocations: 24.3 kB / 4.795 GB, free: 132 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/12.1, allocations: 224.6 kB / 4.795 GB, free: 132 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/12.1, allocations: 97.2 kB / 4.795 GB, free: 132 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/12.1, allocations: 70.83 kB / 4.795 GB, free: 132 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001197/12.1, allocations: 0.7444 MB / 4.796 GB, free: 131.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002885/12.11, allocations: 0.6975 MB / 4.797 GB, free: 131.9 MB / 0.7448 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.004805/12.11, allocations: 3.695 MB / 4.8 GB, free: 130.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002789/12.11, allocations: 1.482 MB / 4.802 GB, free: 130.4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/12.11, allocations: 6.812 kB / 4.802 GB, free: 130.4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/12.11, allocations: 0.8801 MB / 4.803 GB, free: 130.2 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/12.12, allocations: 0.7527 MB / 4.803 GB, free: 130.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007983/12.13, allocations: 3.039 MB / 4.806 GB, free: 129.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002853/12.13, allocations: 1.708 MB / 4.808 GB, free: 128.4 MB / 0.7448 GB Notification: Performance of SimCode: time 1.303e-06/12.13, allocations: 2.594 kB / 4.808 GB, free: 128.4 MB / 0.7448 GB Notification: Performance of Templates: time 0.08179/12.21, allocations: 52.51 MB / 4.859 GB, free: 127.4 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter.makefile (rm -f IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter.sim & ./IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter.pipe 2>&1)