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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="IDEAS_dev_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.001588/0.001588, allocations: 173.9 kB / 7.648 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.7891/0.7891, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.539/1.539, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0008685/0.0008685, allocations: 96.42 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.117e-05, allocations: 4 kB / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4775/0.4776, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.079/5.557, allocations: 1.916 GB / 2.55 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/5.557, allocations: 91.77 kB / 2.55 GB, free: 131 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.971/13.53, allocations: 1.981 GB / 4.531 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.753e-06/13.53, allocations: 0 / 4.531 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003984/13.53, allocations: 59.98 kB / 4.531 GB, free: 11.88 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.00844/13.54, allocations: 2.561 MB / 4.534 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/13.54, allocations: 8.031 kB / 4.534 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006104/13.54, allocations: 0.8047 MB / 4.534 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008528/13.55, allocations: 2.321 MB / 4.537 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/13.55, allocations: 48 kB / 4.537 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008796/13.55, allocations: 96 kB / 4.537 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004292/13.56, allocations: 1.263 MB / 4.538 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003801/13.56, allocations: 1.478 MB / 4.54 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-05/13.56, allocations: 3.906 kB / 4.54 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/13.56, allocations: 4 kB / 4.54 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-05/13.56, allocations: 62.81 kB / 4.54 GB, free: 3.039 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.5972/14.16, allocations: 7.821 MB / 4.547 GB, free: 75.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/14.16, allocations: 1.601 MB / 4.549 GB, free: 74.45 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/14.16, allocations: 0.5488 MB / 4.549 GB, free: 74.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004828/14.16, allocations: 211.6 kB / 4.55 GB, free: 74.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001175/14.16, allocations: 0.555 MB / 4.55 GB, free: 74.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001672/14.17, allocations: 88.88 kB / 4.55 GB, free: 74.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 3.787e-06/14.17, allocations: 0 / 4.55 GB, free: 74.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.00688/14.17, allocations: 2.777 MB / 4.553 GB, free: 73.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/14.17, allocations: 118.4 kB / 4.553 GB, free: 73.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/14.17, allocations: 1.181 MB / 4.554 GB, free: 73.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.503e-05/14.17, allocations: 32.77 kB / 4.554 GB, free: 73.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008597/14.18, allocations: 0.9627 MB / 4.555 GB, free: 72.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/14.18, allocations: 367.8 kB / 4.555 GB, free: 72.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/14.18, allocations: 0 / 4.555 GB, free: 72.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/14.18, allocations: 348 kB / 4.556 GB, free: 72.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/14.18, allocations: 413.1 kB / 4.556 GB, free: 72.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007121/14.18, allocations: 0.745 MB / 4.557 GB, free: 72.01 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.004502/14.18, allocations: 1.754 MB / 4.559 GB, free: 71.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/14.18, allocations: 0 / 4.559 GB, free: 71.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002258/14.18, allocations: 1.38 MB / 4.56 GB, free: 71.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005681/14.18, allocations: 2.945 MB / 4.563 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/14.18, allocations: 6.781 kB / 4.563 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/14.18, allocations: 46.58 kB / 4.563 GB, free: 68.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/14.19, allocations: 289.1 kB / 4.563 GB, free: 68.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009093/14.19, allocations: 1.437 MB / 4.565 GB, free: 67.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/14.19, allocations: 131.3 kB / 4.565 GB, free: 67.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/14.19, allocations: 56.94 kB / 4.565 GB, free: 67.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/14.19, allocations: 3.531 kB / 4.565 GB, free: 67.34 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001859/14.19, allocations: 1.146 MB / 4.566 GB, free: 67.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/14.19, allocations: 10.47 kB / 4.566 GB, free: 67.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001004/14.19, allocations: 46.44 kB / 4.566 GB, free: 67.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/14.19, allocations: 274.9 kB / 4.566 GB, free: 67.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008063/14.19, allocations: 1.445 MB / 4.568 GB, free: 66.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/14.19, allocations: 132.9 kB / 4.568 GB, free: 66.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/14.19, allocations: 52.81 kB / 4.568 GB, free: 66.02 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.0003281/14.2, allocations: 146 kB / 4.568 GB, free: 65.91 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001858/14.2, allocations: 1.139 MB / 4.569 GB, free: 65.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/14.2, allocations: 183.2 kB / 4.569 GB, free: 65.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/14.2, allocations: 1.218 MB / 4.57 GB, free: 65.53 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/14.2, allocations: 13.34 kB / 4.57 GB, free: 65.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/14.2, allocations: 3.906 kB / 4.57 GB, free: 65.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001521/14.2, allocations: 0.9843 MB / 4.571 GB, free: 65.42 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.005933/14.21, allocations: 3.21 MB / 4.575 GB, free: 64.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/14.21, allocations: 1.094 kB / 4.575 GB, free: 64.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/14.21, allocations: 233.2 kB / 4.575 GB, free: 64.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/14.21, allocations: 71.91 kB / 4.575 GB, free: 64.76 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.047e-05/14.21, allocations: 18.67 kB / 4.575 GB, free: 64.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/14.21, allocations: 2.665 MB / 4.577 GB, free: 62.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/14.21, allocations: 4.656 kB / 4.577 GB, free: 62.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/14.21, allocations: 1.944 MB / 4.579 GB, free: 61.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007978/14.21, allocations: 380.2 kB / 4.58 GB, free: 61.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/14.21, allocations: 7.156 kB / 4.58 GB, free: 61.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/14.22, allocations: 132.3 kB / 4.58 GB, free: 61.74 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/14.22, allocations: 79.92 kB / 4.58 GB, free: 61.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-05/14.22, allocations: 39.97 kB / 4.58 GB, free: 61.74 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001386/14.22, allocations: 0.8965 MB / 4.581 GB, free: 61.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.41e-07/14.22, allocations: 0 / 4.581 GB, free: 61.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004297/14.22, allocations: 1.117 MB / 4.582 GB, free: 61.6 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.007592/14.23, allocations: 6.263 MB / 4.588 GB, free: 59.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003114/14.23, allocations: 2.052 MB / 4.59 GB, free: 58.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/14.23, allocations: 0 / 4.59 GB, free: 58.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008934/14.23, allocations: 0.7184 MB / 4.591 GB, free: 58.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004702/14.24, allocations: 0.9137 MB / 4.592 GB, free: 58.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008126/14.25, allocations: 3.601 MB / 4.595 GB, free: 57.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/14.25, allocations: 1.622 MB / 4.597 GB, free: 57.04 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003116/14.25, allocations: 0.6862 MB / 4.597 GB, free: 57.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009602/14.25, allocations: 0.8039 MB / 4.598 GB, free: 57.01 MB / 0.7292 GB Notification: Performance of SimCode: time 8.02e-07/14.25, allocations: 3.688 kB / 4.598 GB, free: 57.01 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1569/14.41, allocations: 74.07 MB / 4.671 GB, free: 54.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/14.41, allocations: 157.6 kB / 4.671 GB, free: 54.04 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.883/19.29, allocations: 3.844 kB / 4.671 GB, free: 54.04 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)