Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.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.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8801/0.8801, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.43/1.43, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009556/0.0009555, allocations: 103 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.608e-05/1.609e-05, allocations: 4 kB / 0.5535 GB, free: 9.066 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4874, allocations: 82.31 MB / 0.6338 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.14/5.628, allocations: 1.916 GB / 2.55 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/5.628, allocations: 91.2 kB / 2.55 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.919/14.55, allocations: 1.981 GB / 4.531 GB, free: 76.65 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.224e-06/14.55, allocations: 0 / 4.531 GB, free: 76.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005472/14.55, allocations: 65.14 kB / 4.531 GB, free: 76.65 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.01049/14.56, allocations: 2.558 MB / 4.534 GB, free: 75.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.874e-05/14.56, allocations: 9.906 kB / 4.534 GB, free: 75.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007128/14.57, allocations: 0.7952 MB / 4.534 GB, free: 75.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009604/14.58, allocations: 2.328 MB / 4.537 GB, free: 75.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/14.58, allocations: 47.91 kB / 4.537 GB, free: 75.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007823/14.58, allocations: 105.7 kB / 4.537 GB, free: 75.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004014/14.58, allocations: 1.256 MB / 4.538 GB, free: 75.31 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004227/14.58, allocations: 1.465 MB / 4.539 GB, free: 75.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/14.58, allocations: 9.062 kB / 4.539 GB, free: 75.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/14.58, allocations: 5.844 kB / 4.539 GB, free: 75.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.519e-05/14.58, allocations: 61.5 kB / 4.54 GB, free: 75.11 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.01332/14.6, allocations: 7.834 MB / 4.547 GB, free: 71.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/14.6, allocations: 1.593 MB / 4.549 GB, free: 70.56 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007531/14.6, allocations: 0.5533 MB / 4.549 GB, free: 70.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004533/14.6, allocations: 213.5 kB / 4.549 GB, free: 70.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008383/14.6, allocations: 0.5511 MB / 4.55 GB, free: 70.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001594/14.6, allocations: 93.98 kB / 4.55 GB, free: 70.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 5.12e-06/14.6, allocations: 2.062 kB / 4.55 GB, free: 70.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.007626/14.61, allocations: 2.772 MB / 4.553 GB, free: 69.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/14.61, allocations: 113.9 kB / 4.553 GB, free: 69.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/14.61, allocations: 1.188 MB / 4.554 GB, free: 69.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/14.61, allocations: 28.98 kB / 4.554 GB, free: 69.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009965/14.61, allocations: 0.9517 MB / 4.555 GB, free: 68.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/14.61, allocations: 366.6 kB / 4.555 GB, free: 68.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/14.61, allocations: 0 / 4.555 GB, free: 68.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001242/14.61, allocations: 349.6 kB / 4.556 GB, free: 68.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006167/14.62, allocations: 420.9 kB / 4.556 GB, free: 68.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/14.62, allocations: 0.7453 MB / 4.557 GB, free: 68.08 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: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004937/14.62, allocations: 1.756 MB / 4.559 GB, free: 67.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/14.62, allocations: 3.438 kB / 4.559 GB, free: 67.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002815/14.62, allocations: 1.373 MB / 4.56 GB, free: 67.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007707/14.62, allocations: 2.941 MB / 4.563 GB, free: 64.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/14.62, allocations: 10.78 kB / 4.563 GB, free: 64.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/14.63, allocations: 46.02 kB / 4.563 GB, free: 64.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/14.63, allocations: 289.2 kB / 4.563 GB, free: 64.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/14.63, allocations: 1.435 MB / 4.565 GB, free: 63.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/14.63, allocations: 131.2 kB / 4.565 GB, free: 63.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/14.63, allocations: 53.67 kB / 4.565 GB, free: 63.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/14.63, allocations: 3.031 kB / 4.565 GB, free: 63.42 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002136/14.63, allocations: 1.147 MB / 4.566 GB, free: 63.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/14.63, allocations: 7.438 kB / 4.566 GB, free: 63.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/14.63, allocations: 49.23 kB / 4.566 GB, free: 63.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/14.63, allocations: 280 kB / 4.566 GB, free: 63.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/14.63, allocations: 1.449 MB / 4.568 GB, free: 62.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/14.64, allocations: 134.8 kB / 4.568 GB, free: 62.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/14.64, allocations: 54 kB / 4.568 GB, free: 62.09 MB / 0.7292 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 144 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003589/14.64, allocations: 146 kB / 4.568 GB, free: 61.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/14.64, allocations: 187.7 kB / 4.568 GB, free: 61.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/14.64, allocations: 1.226 MB / 4.569 GB, free: 61.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/14.64, allocations: 13.88 kB / 4.569 GB, free: 61.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/14.64, allocations: 0 / 4.569 GB, free: 61.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001579/14.64, allocations: 0.9847 MB / 4.57 GB, free: 61.67 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.006443/14.65, allocations: 3.207 MB / 4.573 GB, free: 61.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/14.65, allocations: 4.656 kB / 4.573 GB, free: 61.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/14.65, allocations: 236.7 kB / 4.574 GB, free: 61.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/14.65, allocations: 66.56 kB / 4.574 GB, free: 61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/14.65, allocations: 22.33 kB / 4.574 GB, free: 60.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/14.65, allocations: 2.656 MB / 4.576 GB, free: 58.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/14.65, allocations: 0 / 4.576 GB, free: 58.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/14.65, allocations: 1.95 MB / 4.578 GB, free: 58.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/14.66, allocations: 367.6 kB / 4.579 GB, free: 57.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/14.66, allocations: 8.812 kB / 4.579 GB, free: 57.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/14.66, allocations: 146.7 kB / 4.579 GB, free: 57.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/14.66, allocations: 77.28 kB / 4.579 GB, free: 57.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/14.66, allocations: 35.14 kB / 4.579 GB, free: 57.97 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001459/14.66, allocations: 0.9004 MB / 4.58 GB, free: 57.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/14.66, allocations: 0 / 4.58 GB, free: 57.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004602/14.66, allocations: 1.118 MB / 4.581 GB, free: 57.79 MB / 0.7292 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005779/14.67, allocations: 3.597 MB / 4.584 GB, free: 56.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003448/14.67, allocations: 2.05 MB / 4.586 GB, free: 56.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/14.67, allocations: 0 / 4.586 GB, free: 56.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00093/14.67, allocations: 0.7249 MB / 4.587 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005184/14.68, allocations: 0.9119 MB / 4.588 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007595/14.69, allocations: 3.1 MB / 4.591 GB, free: 55.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/14.69, allocations: 1.627 MB / 4.592 GB, free: 54.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003718/14.69, allocations: 0.6792 MB / 4.593 GB, free: 54.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/14.69, allocations: 120.1 kB / 4.593 GB, free: 54.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.202e-06/14.69, allocations: 3.172 kB / 4.593 GB, free: 54.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.08817/14.78, allocations: 52.21 MB / 4.644 GB, free: 51.63 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)