Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7934/0.7934, allocations: 143.4 MB / 158.3 MB, free: 5.832 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 178.1 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 96.27 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001921/0.00192, allocations: 272.5 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004257, allocations: 20.59 kB / 0.6929 GB, free: 59.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1761, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.122/4.298, allocations: 1.914 GB / 2.688 GB, free: 162.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/4.298, allocations: 106.7 kB / 2.688 GB, free: 162.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.833/11.13, allocations: 2.003 GB / 4.691 GB, free: 68.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.854e-06/11.13, allocations: 0 / 4.691 GB, free: 68.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003798/11.13, allocations: 59.42 kB / 4.691 GB, free: 68.36 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.008943/11.14, allocations: 3.078 MB / 4.694 GB, free: 66.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/11.14, allocations: 9.688 kB / 4.694 GB, free: 66.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005492/11.15, allocations: 0.7924 MB / 4.695 GB, free: 66.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006251/11.15, allocations: 2.322 MB / 4.697 GB, free: 66.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/11.15, allocations: 123.2 kB / 4.697 GB, free: 66.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000286/11.15, allocations: 163.2 kB / 4.697 GB, free: 66.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003098/11.16, allocations: 1.755 MB / 4.699 GB, free: 65.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/11.16, allocations: 0 / 4.699 GB, free: 65.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/11.16, allocations: 64.47 kB / 4.699 GB, free: 65.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/11.16, allocations: 60.77 kB / 4.699 GB, free: 65.9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/11.16, allocations: 1.454 MB / 4.701 GB, free: 65.88 MB / 0.7448 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.01017/11.17, allocations: 8.099 MB / 4.709 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/11.17, allocations: 1.733 MB / 4.71 GB, free: 61.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004021/11.17, allocations: 210.4 kB / 4.711 GB, free: 60.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/11.17, allocations: 0.6451 MB / 4.711 GB, free: 60.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001055/11.17, allocations: 121.5 kB / 4.711 GB, free: 60.83 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 3.847e-06/11.17, allocations: 0 / 4.711 GB, free: 60.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=107): time 0.007202/11.18, allocations: 3.489 MB / 4.715 GB, free: 59.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/11.18, allocations: 113.9 kB / 4.715 GB, free: 59.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/11.18, allocations: 1.308 MB / 4.716 GB, free: 58.97 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/11.18, allocations: 50.81 kB / 4.716 GB, free: 58.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006916/11.18, allocations: 0.9537 MB / 4.717 GB, free: 58.13 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/11.18, allocations: 374.4 kB / 4.717 GB, free: 57.81 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/11.18, allocations: 23.94 kB / 4.717 GB, free: 57.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.154e-05/11.18, allocations: 356 kB / 4.718 GB, free: 57.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008742/11.18, allocations: 489.3 kB / 4.718 GB, free: 57.21 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/11.19, allocations: 0.8298 MB / 4.719 GB, free: 56.54 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: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009359/11.19, allocations: 2.283 MB / 4.721 GB, free: 55.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/11.19, allocations: 3.844 kB / 4.721 GB, free: 55.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002758/11.2, allocations: 1.563 MB / 4.723 GB, free: 54.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004974/11.2, allocations: 2.94 MB / 4.726 GB, free: 51.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/11.2, allocations: 11.66 kB / 4.726 GB, free: 51.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/11.2, allocations: 57.02 kB / 4.726 GB, free: 51.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/11.2, allocations: 282.4 kB / 4.726 GB, free: 51.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/11.2, allocations: 1.59 MB / 4.728 GB, free: 49.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/11.2, allocations: 162.1 kB / 4.728 GB, free: 49.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/11.2, allocations: 60.02 kB / 4.728 GB, free: 49.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/11.2, allocations: 7.359 kB / 4.728 GB, free: 49.76 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002277/11.2, allocations: 1.368 MB / 4.729 GB, free: 49.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/11.21, allocations: 9.031 kB / 4.729 GB, free: 49.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001226/11.21, allocations: 63.27 kB / 4.729 GB, free: 49.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/11.21, allocations: 276.6 kB / 4.729 GB, free: 48.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009585/11.21, allocations: 1.581 MB / 4.731 GB, free: 47.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/11.21, allocations: 158.3 kB / 4.731 GB, free: 47.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/11.21, allocations: 59.94 kB / 4.731 GB, free: 47.05 MB / 0.7448 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001321/11.21, allocations: 0.5823 MB / 4.732 GB, free: 46.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/11.21, allocations: 192.2 kB / 4.732 GB, free: 46.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/11.21, allocations: 1.375 MB / 4.733 GB, free: 44.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/11.21, allocations: 8 kB / 4.733 GB, free: 44.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/11.21, allocations: 10.66 kB / 4.733 GB, free: 44.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001944/11.22, allocations: 1.123 MB / 4.734 GB, free: 43.75 MB / 0.7448 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 postOpt removeSimpleEquations (simulation): time 0.006118/11.22, allocations: 3.467 MB / 4.738 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/11.22, allocations: 0 / 4.738 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/11.22, allocations: 231 kB / 4.738 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/11.22, allocations: 77.66 kB / 4.738 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/11.22, allocations: 31.98 kB / 4.738 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/11.23, allocations: 2.935 MB / 4.741 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/11.23, allocations: 0 / 4.741 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/11.23, allocations: 2.159 MB / 4.743 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009982/11.23, allocations: 366.7 kB / 4.743 GB, free: 34.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/11.23, allocations: 24.19 kB / 4.743 GB, free: 34.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/11.23, allocations: 158.8 kB / 4.744 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/11.23, allocations: 84.84 kB / 4.744 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.478e-05/11.23, allocations: 39.92 kB / 4.744 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001401/11.23, allocations: 1.015 MB / 4.745 GB, free: 32.76 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/11.23, allocations: 0 / 4.745 GB, free: 32.76 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0046/11.24, allocations: 1.26 MB / 4.746 GB, free: 31.5 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004581/11.24, allocations: 3.436 MB / 4.749 GB, free: 28.22 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004047/11.25, allocations: 2.266 MB / 4.752 GB, free: 25.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/11.25, allocations: 8 kB / 4.752 GB, free: 25.9 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/11.25, allocations: 0.8271 MB / 4.752 GB, free: 25.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004218/11.25, allocations: 0.9555 MB / 4.753 GB, free: 24.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007068/11.26, allocations: 4.767 MB / 4.758 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009863/11.26, allocations: 1.617 MB / 4.76 GB, free: 17.67 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002362/11.26, allocations: 0.5135 MB / 4.76 GB, free: 17.19 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/11.26, allocations: 143.4 kB / 4.76 GB, free: 17.05 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/11.26, allocations: 0 / 4.76 GB, free: 17.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.521/11.78, allocations: 67.76 MB / 4.826 GB, free: 75.77 MB / 0.7605 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)