Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.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_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 172.5 kB / 7.647 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.741/0.741, allocations: 133.6 MB / 141.6 MB, free: 2.867 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.501/1.501, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0009675/0.0009675, allocations: 98.02 kB / 478.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.366e-05, allocations: 4 kB / 0.5535 GB, free: 9.078 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4983, allocations: 82.31 MB / 0.6338 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.131/5.629, allocations: 1.923 GB / 2.557 GB, free: 75.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/5.63, allocations: 91.33 kB / 2.557 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.06/14.69, allocations: 2.068 GB / 4.624 GB, free: 78.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.674e-06/14.69, allocations: 0 / 4.624 GB, free: 78.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005492/14.69, allocations: 61.19 kB / 4.624 GB, free: 78.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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.009405/14.7, allocations: 2.396 MB / 4.627 GB, free: 77.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/14.7, allocations: 11.22 kB / 4.627 GB, free: 77.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006153/14.71, allocations: 0.7728 MB / 4.627 GB, free: 77.49 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008855/14.71, allocations: 2.19 MB / 4.629 GB, free: 77.06 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/14.72, allocations: 43.25 kB / 4.63 GB, free: 77.06 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007107/14.72, allocations: 90.2 kB / 4.63 GB, free: 77.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00334/14.72, allocations: 1.069 MB / 4.631 GB, free: 77.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/14.72, allocations: 1.302 MB / 4.632 GB, free: 76.83 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.309e-05/14.72, allocations: 2.656 kB / 4.632 GB, free: 76.83 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/14.72, allocations: 3.375 kB / 4.632 GB, free: 76.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.391e-05/14.72, allocations: 51.8 kB / 4.632 GB, free: 76.82 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.01297/14.74, allocations: 7.193 MB / 4.639 GB, free: 72.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/14.74, allocations: 1.35 MB / 4.64 GB, free: 72.26 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/14.74, allocations: 423.6 kB / 4.641 GB, free: 72.24 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/14.74, allocations: 0.7545 MB / 4.641 GB, free: 71.49 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007735/14.74, allocations: 447 kB / 4.642 GB, free: 71.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001225/14.74, allocations: 102.9 kB / 4.642 GB, free: 71.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=86): time 6.101e-06/14.74, allocations: 0 / 4.642 GB, free: 71.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86): time 0.006044/14.75, allocations: 1.516 MB / 4.643 GB, free: 71.26 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/14.75, allocations: 110.3 kB / 4.644 GB, free: 71.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/14.75, allocations: 1.22 MB / 4.645 GB, free: 70.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002335/14.75, allocations: 25.7 kB / 4.645 GB, free: 70.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00126/14.75, allocations: 0.9212 MB / 4.646 GB, free: 70.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/14.75, allocations: 288.7 kB / 4.646 GB, free: 70.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/14.75, allocations: 0 / 4.646 GB, free: 70.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001157/14.75, allocations: 352.2 kB / 4.646 GB, free: 70.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/14.75, allocations: 325.4 kB / 4.647 GB, free: 70.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007844/14.75, allocations: 0.6773 MB / 4.647 GB, free: 69.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004389/14.76, allocations: 1.008 MB / 4.648 GB, free: 69.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/14.76, allocations: 3.469 kB / 4.648 GB, free: 69.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.006213/14.77, allocations: 1.693 MB / 4.65 GB, free: 69.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009265/14.77, allocations: 3.388 MB / 4.653 GB, free: 66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/14.77, allocations: 7.375 kB / 4.653 GB, free: 66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.355e-05/14.77, allocations: 16.12 kB / 4.653 GB, free: 66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/14.77, allocations: 265.3 kB / 4.653 GB, free: 66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-05/14.77, allocations: 18.88 kB / 4.654 GB, free: 66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/14.77, allocations: 118.1 kB / 4.654 GB, free: 65.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/14.77, allocations: 56.95 kB / 4.654 GB, free: 65.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/14.77, allocations: 3.906 kB / 4.654 GB, free: 65.99 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00499/14.77, allocations: 1.478 MB / 4.655 GB, free: 65.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/14.77, allocations: 12.38 kB / 4.655 GB, free: 65.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/14.77, allocations: 14.09 kB / 4.655 GB, free: 65.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/14.78, allocations: 258.6 kB / 4.655 GB, free: 65.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.562e-05/14.78, allocations: 24.69 kB / 4.655 GB, free: 65.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/14.78, allocations: 123 kB / 4.656 GB, free: 65.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/14.78, allocations: 54.47 kB / 4.656 GB, free: 65.96 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (133): * Single equations (assignments): 131 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003895/14.78, allocations: 134.8 kB / 4.656 GB, free: 65.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006243/14.78, allocations: 176.5 kB / 4.656 GB, free: 65.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005653/14.78, allocations: 1.524 MB / 4.657 GB, free: 65.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/14.78, allocations: 10.66 kB / 4.657 GB, free: 65.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/14.78, allocations: 0 / 4.657 GB, free: 65.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004637/14.79, allocations: 1.602 MB / 4.659 GB, free: 65.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.01017/14.8, allocations: 3.122 MB / 4.662 GB, free: 64.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/14.8, allocations: 8.391 kB / 4.662 GB, free: 64.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009078/14.8, allocations: 182.7 kB / 4.662 GB, free: 64.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/14.8, allocations: 44.67 kB / 4.662 GB, free: 64.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.93e-05/14.8, allocations: 15.08 kB / 4.662 GB, free: 64.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/14.8, allocations: 1.373 MB / 4.664 GB, free: 63.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/14.8, allocations: 4.688 kB / 4.664 GB, free: 63.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006439/14.81, allocations: 2.122 MB / 4.666 GB, free: 63.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/14.81, allocations: 333.5 kB / 4.666 GB, free: 62.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006252/14.81, allocations: 9.969 kB / 4.666 GB, free: 62.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/14.81, allocations: 125.6 kB / 4.666 GB, free: 62.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/14.81, allocations: 69.8 kB / 4.666 GB, free: 62.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.907e-05/14.81, allocations: 27.39 kB / 4.666 GB, free: 62.89 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002589/14.82, allocations: 0.9096 MB / 4.667 GB, free: 62.78 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.3e-07/14.82, allocations: 0 / 4.667 GB, free: 62.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006168/14.82, allocations: 1.156 MB / 4.668 GB, free: 62.62 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * 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 (86): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007279/14.83, allocations: 3.702 MB / 4.672 GB, free: 61.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00386/14.83, allocations: 1.483 MB / 4.673 GB, free: 61.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/14.83, allocations: 0 / 4.673 GB, free: 61.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/14.83, allocations: 0.5005 MB / 4.674 GB, free: 60.99 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005038/14.84, allocations: 0.7461 MB / 4.674 GB, free: 60.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008569/14.85, allocations: 2.78 MB / 4.677 GB, free: 60.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/14.85, allocations: 1.537 MB / 4.679 GB, free: 59.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00388/14.85, allocations: 0.6464 MB / 4.679 GB, free: 59.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/14.85, allocations: 104 kB / 4.679 GB, free: 59.46 MB / 0.7292 GB Notification: Performance of SimCode: time 1.463e-06/14.85, allocations: 7.312 kB / 4.679 GB, free: 59.46 MB / 0.7292 GB Notification: Performance of Templates: time 0.0738/14.93, allocations: 46.36 MB / 4.725 GB, free: 45.29 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)