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.001911/0.001911, allocations: 174.8 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.8918/0.8918, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.559/1.559, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.0009897/0.0009899, allocations: 98.64 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.756e-05, allocations: 3.344 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1822, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.682/4.865, allocations: 1.917 GB / 2.557 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/4.865, allocations: 92.94 kB / 2.557 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.512/13.38, allocations: 2.002 GB / 4.559 GB, free: 68.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.003e-06/13.38, allocations: 3.844 kB / 4.559 GB, free: 68.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004345/13.38, allocations: 65.94 kB / 4.559 GB, free: 68.43 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.008009/13.39, allocations: 2.564 MB / 4.562 GB, free: 67.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/13.39, allocations: 13.47 kB / 4.562 GB, free: 67.34 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007618/13.39, allocations: 221.8 kB / 4.562 GB, free: 67.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005908/13.39, allocations: 0.793 MB / 4.563 GB, free: 67.16 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007156/13.4, allocations: 2.33 MB / 4.565 GB, free: 66.67 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/13.4, allocations: 120.2 kB / 4.565 GB, free: 66.67 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000554/13.4, allocations: 162.6 kB / 4.565 GB, free: 66.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/13.4, allocations: 1.682 MB / 4.567 GB, free: 66.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.133e-05/13.4, allocations: 6.781 kB / 4.567 GB, free: 66.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/13.4, allocations: 62.97 kB / 4.567 GB, free: 66.46 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-05/13.4, allocations: 54.91 kB / 4.567 GB, free: 66.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/13.41, allocations: 1.327 MB / 4.568 GB, free: 66.44 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.01298/13.42, allocations: 8.103 MB / 4.576 GB, free: 62.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/13.42, allocations: 1.593 MB / 4.578 GB, free: 61.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/13.42, allocations: 0.572 MB / 4.578 GB, free: 61.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/13.42, allocations: 214.2 kB / 4.578 GB, free: 61.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/13.42, allocations: 0.5863 MB / 4.579 GB, free: 61.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001279/13.43, allocations: 127 kB / 4.579 GB, free: 61.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 9.558e-06/13.43, allocations: 0 / 4.579 GB, free: 61.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.006819/13.43, allocations: 2.702 MB / 4.582 GB, free: 60.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/13.43, allocations: 116.2 kB / 4.582 GB, free: 60.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/13.44, allocations: 1.293 MB / 4.583 GB, free: 60.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/13.44, allocations: 54.67 kB / 4.583 GB, free: 60.37 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009625/13.44, allocations: 0.9618 MB / 4.584 GB, free: 60.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/13.44, allocations: 375.5 kB / 4.585 GB, free: 59.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/13.44, allocations: 22.97 kB / 4.585 GB, free: 59.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001207/13.44, allocations: 354.5 kB / 4.585 GB, free: 59.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000669/13.44, allocations: 423.3 kB / 4.585 GB, free: 59.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008935/13.44, allocations: 0.7685 MB / 4.586 GB, free: 59.1 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.008376/13.45, allocations: 2.132 MB / 4.588 GB, free: 58.92 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/13.45, allocations: 3.625 kB / 4.588 GB, free: 58.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002945/13.45, allocations: 1.434 MB / 4.59 GB, free: 58.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001169/13.45, allocations: 2.949 MB / 4.592 GB, free: 55.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.239e-05/13.45, allocations: 6.578 kB / 4.592 GB, free: 55.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002411/13.45, allocations: 52.81 kB / 4.592 GB, free: 55.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/13.45, allocations: 288.3 kB / 4.593 GB, free: 55.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/13.45, allocations: 1.497 MB / 4.594 GB, free: 54.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/13.46, allocations: 159.3 kB / 4.594 GB, free: 54.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/13.46, allocations: 57.06 kB / 4.594 GB, free: 54.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/13.46, allocations: 3.812 kB / 4.594 GB, free: 54.32 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002189/13.46, allocations: 1.239 MB / 4.596 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/13.46, allocations: 12.41 kB / 4.596 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/13.46, allocations: 46.84 kB / 4.596 GB, free: 54.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/13.46, allocations: 285.7 kB / 4.596 GB, free: 54.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009314/13.46, allocations: 1.49 MB / 4.597 GB, free: 52.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/13.46, allocations: 164.2 kB / 4.598 GB, free: 52.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/13.46, allocations: 57.11 kB / 4.598 GB, free: 52.9 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.0003739/13.46, allocations: 191.1 kB / 4.598 GB, free: 52.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004842/13.46, allocations: 188.5 kB / 4.598 GB, free: 52.69 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/13.47, allocations: 1.254 MB / 4.599 GB, free: 52.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/13.47, allocations: 9.5 kB / 4.599 GB, free: 52.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/13.47, allocations: 4.75 kB / 4.599 GB, free: 52.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00159/13.47, allocations: 0.9931 MB / 4.6 GB, free: 52.48 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.006876/13.48, allocations: 3.396 MB / 4.604 GB, free: 51.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/13.48, allocations: 0 / 4.604 GB, free: 51.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/13.48, allocations: 235.3 kB / 4.604 GB, free: 51.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002447/13.48, allocations: 76.09 kB / 4.604 GB, free: 51.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.814e-05/13.48, allocations: 34.16 kB / 4.604 GB, free: 51.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/13.48, allocations: 2.742 MB / 4.607 GB, free: 49.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/13.48, allocations: 4.906 kB / 4.607 GB, free: 49.28 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/13.48, allocations: 1.978 MB / 4.608 GB, free: 48.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/13.48, allocations: 374.3 kB / 4.609 GB, free: 48.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005008/13.48, allocations: 20.78 kB / 4.609 GB, free: 48.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/13.49, allocations: 156.7 kB / 4.609 GB, free: 48.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/13.49, allocations: 73.91 kB / 4.609 GB, free: 48.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/13.49, allocations: 46.03 kB / 4.609 GB, free: 48.65 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001774/13.49, allocations: 0.9997 MB / 4.61 GB, free: 48.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/13.49, allocations: 2.938 kB / 4.61 GB, free: 48.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005331/13.49, allocations: 1.252 MB / 4.611 GB, free: 48.44 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.008914/13.5, allocations: 6.115 MB / 4.617 GB, free: 45.97 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003735/13.51, allocations: 2.135 MB / 4.619 GB, free: 45.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/13.51, allocations: 0 / 4.619 GB, free: 45.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/13.51, allocations: 0.7684 MB / 4.62 GB, free: 45.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005267/13.51, allocations: 0.9453 MB / 4.621 GB, free: 45.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/13.52, allocations: 3.696 MB / 4.625 GB, free: 44.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/13.52, allocations: 1.63 MB / 4.626 GB, free: 43.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003569/13.53, allocations: 0.6953 MB / 4.627 GB, free: 43.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/13.53, allocations: 0.8082 MB / 4.628 GB, free: 43.65 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/13.53, allocations: 0 / 4.628 GB, free: 43.65 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7553/14.28, allocations: 105 MB / 4.73 GB, free: 90.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/14.28, allocations: 204.3 kB / 4.73 GB, free: 89.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.777/20.06, allocations: 6.469 kB / 4.73 GB, free: 89.84 MB / 0.7448 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)