Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001565, allocations: 173.2 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.7564/0.7564, allocations: 133.6 MB / 141.6 MB, free: 2.883 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.56/1.56, allocations: 221.5 MB / 395.4 MB, free: 10.82 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.0008441/0.0008443, allocations: 100.9 kB / 478.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.821e-05, allocations: 4 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4667/0.4667, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.593/5.059, allocations: 1.916 GB / 2.55 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/5.06, allocations: 94.25 kB / 2.55 GB, free: 80.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.607/13.67, allocations: 1.981 GB / 4.531 GB, free: 76.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.313e-06/13.67, allocations: 2.25 kB / 4.531 GB, free: 76.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0006201/13.67, allocations: 66.47 kB / 4.531 GB, free: 76.95 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.0107/13.68, allocations: 2.563 MB / 4.534 GB, free: 76.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.453e-05/13.68, allocations: 9.25 kB / 4.534 GB, free: 76.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006552/13.68, allocations: 0.7931 MB / 4.534 GB, free: 75.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00838/13.69, allocations: 2.325 MB / 4.537 GB, free: 75.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/13.69, allocations: 47.53 kB / 4.537 GB, free: 75.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007927/13.69, allocations: 98.28 kB / 4.537 GB, free: 75.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004297/13.7, allocations: 1.26 MB / 4.538 GB, free: 75.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004189/13.7, allocations: 1.47 MB / 4.54 GB, free: 75.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/13.7, allocations: 3.312 kB / 4.54 GB, free: 75.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/13.7, allocations: 0 / 4.54 GB, free: 75.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.569e-05/13.7, allocations: 63.19 kB / 4.54 GB, free: 75.41 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.01334/13.72, allocations: 7.839 MB / 4.547 GB, free: 71.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/13.72, allocations: 1.589 MB / 4.549 GB, free: 70.86 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007201/13.72, allocations: 0.5558 MB / 4.549 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000422/13.72, allocations: 207.3 kB / 4.55 GB, free: 70.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007917/13.72, allocations: 0.5511 MB / 4.55 GB, free: 70.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00125/13.72, allocations: 93.78 kB / 4.55 GB, free: 70.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 3.777e-06/13.72, allocations: 0 / 4.55 GB, free: 70.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.00632/13.73, allocations: 2.784 MB / 4.553 GB, free: 69.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/13.73, allocations: 114.9 kB / 4.553 GB, free: 69.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/13.73, allocations: 1.184 MB / 4.554 GB, free: 69.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/13.73, allocations: 31.86 kB / 4.554 GB, free: 69.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007615/13.73, allocations: 0.9498 MB / 4.555 GB, free: 69.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000299/13.73, allocations: 365 kB / 4.555 GB, free: 69.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/13.73, allocations: 1.719 kB / 4.555 GB, free: 69.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/13.73, allocations: 350.5 kB / 4.556 GB, free: 68.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/13.73, allocations: 407.8 kB / 4.556 GB, free: 68.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007637/13.73, allocations: 0.7567 MB / 4.557 GB, free: 68.38 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.004566/13.74, allocations: 1.744 MB / 4.559 GB, free: 68.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/13.74, allocations: 3.844 kB / 4.559 GB, free: 68.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002481/13.74, allocations: 1.386 MB / 4.56 GB, free: 68.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006097/13.74, allocations: 2.948 MB / 4.563 GB, free: 64.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/13.74, allocations: 9.719 kB / 4.563 GB, free: 64.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/13.74, allocations: 46.2 kB / 4.563 GB, free: 64.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/13.74, allocations: 281.3 kB / 4.563 GB, free: 64.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000964/13.74, allocations: 1.44 MB / 4.565 GB, free: 63.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/13.74, allocations: 126.1 kB / 4.565 GB, free: 63.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/13.74, allocations: 56.27 kB / 4.565 GB, free: 63.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/13.74, allocations: 2.656 kB / 4.565 GB, free: 63.71 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00199/13.75, allocations: 1.142 MB / 4.566 GB, free: 63.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/13.75, allocations: 8.312 kB / 4.566 GB, free: 63.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001058/13.75, allocations: 42.8 kB / 4.566 GB, free: 63.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/13.75, allocations: 290.2 kB / 4.566 GB, free: 63.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008567/13.75, allocations: 1.441 MB / 4.568 GB, free: 62.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/13.75, allocations: 134.3 kB / 4.568 GB, free: 62.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/13.75, allocations: 52.16 kB / 4.568 GB, free: 62.39 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.0003494/13.75, allocations: 145.3 kB / 4.568 GB, free: 62.28 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002022/13.75, allocations: 1.138 MB / 4.569 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/13.75, allocations: 190.3 kB / 4.569 GB, free: 62.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/13.76, allocations: 1.214 MB / 4.57 GB, free: 61.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/13.76, allocations: 14.83 kB / 4.57 GB, free: 61.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/13.76, allocations: 0 / 4.57 GB, free: 61.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001479/13.76, allocations: 0.9892 MB / 4.571 GB, free: 61.79 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.005919/13.76, allocations: 3.21 MB / 4.575 GB, free: 61.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/13.76, allocations: 3.812 kB / 4.575 GB, free: 61.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/13.76, allocations: 231.5 kB / 4.575 GB, free: 61.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/13.76, allocations: 70.86 kB / 4.575 GB, free: 61.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.936e-05/13.76, allocations: 13.92 kB / 4.575 GB, free: 61.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/13.77, allocations: 2.668 MB / 4.577 GB, free: 58.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/13.77, allocations: 6.594 kB / 4.577 GB, free: 58.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/13.77, allocations: 1.944 MB / 4.579 GB, free: 58.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/13.77, allocations: 377 kB / 4.58 GB, free: 58.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/13.77, allocations: 9.734 kB / 4.58 GB, free: 58.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/13.77, allocations: 134.3 kB / 4.58 GB, free: 58.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/13.77, allocations: 78.45 kB / 4.58 GB, free: 58.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.201e-05/13.77, allocations: 38.61 kB / 4.58 GB, free: 58.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001365/13.77, allocations: 0.8936 MB / 4.581 GB, free: 57.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/13.77, allocations: 2.344 kB / 4.581 GB, free: 57.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004299/13.78, allocations: 1.118 MB / 4.582 GB, free: 57.92 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.007892/13.79, allocations: 6.267 MB / 4.588 GB, free: 55.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003097/13.79, allocations: 2.045 MB / 4.59 GB, free: 55.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/13.79, allocations: 3.562 kB / 4.59 GB, free: 55.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008755/13.79, allocations: 0.7257 MB / 4.591 GB, free: 54.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004991/13.79, allocations: 0.91 MB / 4.592 GB, free: 54.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00871/13.8, allocations: 3.601 MB / 4.595 GB, free: 53.97 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/13.8, allocations: 1.625 MB / 4.597 GB, free: 53.24 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003381/13.81, allocations: 0.6795 MB / 4.597 GB, free: 53.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/13.81, allocations: 0.8114 MB / 4.598 GB, free: 53.21 MB / 0.7292 GB Notification: Performance of SimCode: time 2.315e-06/13.81, allocations: 0 / 4.598 GB, free: 53.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/13.94, allocations: 74.08 MB / 4.671 GB, free: 50.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/13.94, allocations: 156.9 kB / 4.671 GB, free: 49.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.741/18.68, allocations: 0 / 4.671 GB, free: 49.87 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)