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.001749/0.001749, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7834/0.7834, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.49/1.49, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.0008426/0.0008427, allocations: 90.08 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.602e-05, allocations: 2.938 kB / 0.56 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1796, allocations: 82.31 MB / 0.6404 GB, free: 7.844 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.804/5.983, allocations: 1.917 GB / 2.557 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003843/5.984, allocations: 90.14 kB / 2.557 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.483/14.47, allocations: 2.002 GB / 4.559 GB, free: 64.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.803e-06/14.47, allocations: 2.969 kB / 4.559 GB, free: 64.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004708/14.47, allocations: 62.69 kB / 4.559 GB, free: 64.27 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.009293/14.48, allocations: 2.563 MB / 4.562 GB, free: 63.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/14.48, allocations: 7.125 kB / 4.562 GB, free: 63.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006132/14.48, allocations: 0.7971 MB / 4.562 GB, free: 62.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007978/14.49, allocations: 2.319 MB / 4.565 GB, free: 62.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/14.49, allocations: 127.1 kB / 4.565 GB, free: 62.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007962/14.49, allocations: 164.4 kB / 4.565 GB, free: 62.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004862/14.5, allocations: 1.678 MB / 4.567 GB, free: 62.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/14.5, allocations: 6.312 kB / 4.567 GB, free: 62.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/14.5, allocations: 63.78 kB / 4.567 GB, free: 62.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.31e-05/14.5, allocations: 51.05 kB / 4.567 GB, free: 62.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/14.5, allocations: 1.328 MB / 4.568 GB, free: 62.23 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.01328/14.51, allocations: 8.098 MB / 4.576 GB, free: 58.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/14.52, allocations: 1.602 MB / 4.577 GB, free: 57.55 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008829/14.52, allocations: 0.5709 MB / 4.578 GB, free: 57.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004396/14.52, allocations: 219.5 kB / 4.578 GB, free: 57.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009332/14.52, allocations: 0.5782 MB / 4.579 GB, free: 57.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001231/14.52, allocations: 121.6 kB / 4.579 GB, free: 57.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 8.225e-06/14.52, allocations: 0 / 4.579 GB, free: 57.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.006443/14.53, allocations: 2.714 MB / 4.581 GB, free: 56.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/14.53, allocations: 115.7 kB / 4.582 GB, free: 56.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/14.53, allocations: 1.291 MB / 4.583 GB, free: 56.19 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/14.53, allocations: 53.42 kB / 4.583 GB, free: 56.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009644/14.53, allocations: 0.9559 MB / 4.584 GB, free: 55.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003407/14.53, allocations: 382.3 kB / 4.584 GB, free: 55.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/14.53, allocations: 23.03 kB / 4.584 GB, free: 55.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/14.53, allocations: 357 kB / 4.585 GB, free: 55.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006714/14.53, allocations: 422.9 kB / 4.585 GB, free: 55.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008655/14.53, allocations: 0.7681 MB / 4.586 GB, free: 54.89 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.008252/14.54, allocations: 2.143 MB / 4.588 GB, free: 54.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/14.54, allocations: 3.375 kB / 4.588 GB, free: 54.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002987/14.54, allocations: 1.434 MB / 4.589 GB, free: 54.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007374/14.54, allocations: 2.942 MB / 4.592 GB, free: 51.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/14.54, allocations: 8.875 kB / 4.592 GB, free: 51.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/14.54, allocations: 52.91 kB / 4.592 GB, free: 51.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/14.54, allocations: 287.2 kB / 4.592 GB, free: 51.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/14.55, allocations: 1.494 MB / 4.594 GB, free: 50.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/14.55, allocations: 153.3 kB / 4.594 GB, free: 50.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/14.55, allocations: 59.75 kB / 4.594 GB, free: 50.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/14.55, allocations: 3.875 kB / 4.594 GB, free: 50.11 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002141/14.55, allocations: 1.247 MB / 4.595 GB, free: 50.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/14.55, allocations: 7.062 kB / 4.595 GB, free: 50.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/14.55, allocations: 41.36 kB / 4.595 GB, free: 50.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/14.55, allocations: 285.9 kB / 4.596 GB, free: 49.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000951/14.55, allocations: 1.501 MB / 4.597 GB, free: 48.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/14.55, allocations: 158.5 kB / 4.597 GB, free: 48.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/14.56, allocations: 57.16 kB / 4.597 GB, free: 48.64 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.0004607/14.56, allocations: 189.4 kB / 4.597 GB, free: 48.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005856/14.56, allocations: 192.2 kB / 4.598 GB, free: 48.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/14.56, allocations: 1.252 MB / 4.599 GB, free: 48.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/14.56, allocations: 11.81 kB / 4.599 GB, free: 48.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/14.56, allocations: 0 / 4.599 GB, free: 48.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/14.56, allocations: 0.9972 MB / 4.6 GB, free: 48.2 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.007286/14.57, allocations: 3.399 MB / 4.603 GB, free: 47.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/14.57, allocations: 3.5 kB / 4.603 GB, free: 47.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/14.57, allocations: 244.4 kB / 4.603 GB, free: 47.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002438/14.57, allocations: 69.06 kB / 4.604 GB, free: 47.47 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/14.57, allocations: 31.44 kB / 4.604 GB, free: 47.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/14.57, allocations: 2.75 MB / 4.606 GB, free: 44.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/14.57, allocations: 0 / 4.606 GB, free: 44.83 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/14.57, allocations: 1.97 MB / 4.608 GB, free: 43.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/14.58, allocations: 373.5 kB / 4.608 GB, free: 43.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005676/14.58, allocations: 23.31 kB / 4.609 GB, free: 43.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/14.58, allocations: 157.7 kB / 4.609 GB, free: 43.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/14.58, allocations: 78.34 kB / 4.609 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/14.58, allocations: 42.12 kB / 4.609 GB, free: 43.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002162/14.58, allocations: 1.006 MB / 4.61 GB, free: 43.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.5e-07/14.58, allocations: 0 / 4.61 GB, free: 43.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006222/14.59, allocations: 1.264 MB / 4.611 GB, free: 42.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.006616/14.59, allocations: 3.434 MB / 4.614 GB, free: 41.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004277/14.6, allocations: 2.135 MB / 4.616 GB, free: 40.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/14.6, allocations: 6.75 kB / 4.616 GB, free: 40.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/14.6, allocations: 0.7543 MB / 4.617 GB, free: 39.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0054/14.6, allocations: 0.9438 MB / 4.618 GB, free: 39.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009511/14.61, allocations: 3.165 MB / 4.621 GB, free: 38.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/14.62, allocations: 1.626 MB / 4.623 GB, free: 37.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004727/14.62, allocations: 0.6928 MB / 4.623 GB, free: 37.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/14.62, allocations: 120.8 kB / 4.624 GB, free: 37.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/14.62, allocations: 0 / 4.624 GB, free: 37.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.6893/15.31, allocations: 78.47 MB / 4.7 GB, free: 84.53 MB / 0.7448 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)