Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 289.7 MB / 302.2 MB, free: 2.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 181.8 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.2 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 91.56 kB / 0.745 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.135e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3014, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.413/6.715, allocations: 2.122 GB / 3.102 GB, free: 71.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/6.715, allocations: 94.36 kB / 3.102 GB, free: 71.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.056/15.77, allocations: 1.983 GB / 5.085 GB, free: 107 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.483e-06/15.77, allocations: 0 / 5.085 GB, free: 107 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003204/15.77, allocations: 64.28 kB / 5.086 GB, free: 107 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.00907/15.78, allocations: 2.618 MB / 5.088 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/15.78, allocations: 6.281 kB / 5.088 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006938/15.78, allocations: 217.4 kB / 5.088 GB, free: 106 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006182/15.79, allocations: 0.7981 MB / 5.089 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007443/15.8, allocations: 2.348 MB / 5.091 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/15.8, allocations: 125.6 kB / 5.091 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004125/15.8, allocations: 164.5 kB / 5.092 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/15.8, allocations: 1.716 MB / 5.093 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/15.8, allocations: 0 / 5.093 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/15.8, allocations: 62.48 kB / 5.093 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.054e-05/15.8, allocations: 62.38 kB / 5.093 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/15.8, allocations: 1.321 MB / 5.095 GB, free: 105.2 MB / 0.9948 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.01148/15.81, allocations: 8.055 MB / 5.103 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/15.81, allocations: 1.627 MB / 5.104 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007859/15.82, allocations: 0.5489 MB / 5.105 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004376/15.82, allocations: 218.4 kB / 5.105 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000895/15.82, allocations: 0.578 MB / 5.105 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001329/15.82, allocations: 115.5 kB / 5.106 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=102): time 4.328e-06/15.82, allocations: 0 / 5.106 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=105): time 0.005808/15.82, allocations: 2.69 MB / 5.108 GB, free: 99.68 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/15.82, allocations: 170 kB / 5.108 GB, free: 99.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/15.83, allocations: 1.321 MB / 5.11 GB, free: 99.27 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/15.83, allocations: 53.08 kB / 5.11 GB, free: 99.24 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007928/15.83, allocations: 0.9702 MB / 5.111 GB, free: 98.99 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000314/15.83, allocations: 368.2 kB / 5.111 GB, free: 98.81 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/15.83, allocations: 25.47 kB / 5.111 GB, free: 98.81 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001146/15.83, allocations: 353.6 kB / 5.111 GB, free: 98.5 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006607/15.83, allocations: 436.8 kB / 5.112 GB, free: 98.5 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008436/15.83, allocations: 0.8014 MB / 5.113 GB, free: 98.09 MB / 0.9948 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.008428/15.84, allocations: 2.182 MB / 5.115 GB, free: 97.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/15.84, allocations: 3.25 kB / 5.115 GB, free: 97.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003196/15.84, allocations: 1.461 MB / 5.116 GB, free: 97.71 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006953/15.84, allocations: 3.044 MB / 5.119 GB, free: 94.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/15.84, allocations: 8.531 kB / 5.119 GB, free: 94.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/15.84, allocations: 52.8 kB / 5.119 GB, free: 94.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/15.84, allocations: 281.6 kB / 5.119 GB, free: 94.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/15.84, allocations: 1.494 MB / 5.121 GB, free: 93.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/15.85, allocations: 158.9 kB / 5.121 GB, free: 93.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/15.85, allocations: 53.86 kB / 5.121 GB, free: 93.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/15.85, allocations: 8.719 kB / 5.121 GB, free: 93.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00233/15.85, allocations: 1.273 MB / 5.122 GB, free: 93.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/15.85, allocations: 9.594 kB / 5.122 GB, free: 93.13 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/15.85, allocations: 46.05 kB / 5.122 GB, free: 93.12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/15.85, allocations: 286.7 kB / 5.123 GB, free: 93.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/15.85, allocations: 1.495 MB / 5.124 GB, free: 91.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/15.85, allocations: 156.5 kB / 5.124 GB, free: 91.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/15.85, allocations: 56.06 kB / 5.124 GB, free: 91.79 MB / 0.9948 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: 33 * 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 (148): * Single equations (assignments): 143 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0005151/15.86, allocations: 192.8 kB / 5.125 GB, free: 91.68 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007811/15.86, allocations: 194.6 kB / 5.125 GB, free: 91.58 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/15.86, allocations: 1.24 MB / 5.126 GB, free: 91.48 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/15.86, allocations: 15.7 kB / 5.126 GB, free: 91.48 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/15.86, allocations: 1.781 kB / 5.126 GB, free: 91.48 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002209/15.86, allocations: 0.9894 MB / 5.127 GB, free: 91.38 MB / 0.9948 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.009926/15.87, allocations: 3.36 MB / 5.13 GB, free: 90.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/15.87, allocations: 5.203 kB / 5.13 GB, free: 90.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/15.87, allocations: 235.6 kB / 5.13 GB, free: 90.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002491/15.87, allocations: 67.05 kB / 5.13 GB, free: 90.68 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.452e-05/15.87, allocations: 30.28 kB / 5.131 GB, free: 90.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/15.87, allocations: 2.742 MB / 5.133 GB, free: 88.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/15.87, allocations: 8.094 kB / 5.133 GB, free: 88.18 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/15.88, allocations: 1.964 MB / 5.135 GB, free: 87.76 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/15.88, allocations: 371.6 kB / 5.135 GB, free: 87.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007274/15.88, allocations: 27.56 kB / 5.135 GB, free: 87.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/15.88, allocations: 154.8 kB / 5.136 GB, free: 87.56 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/15.88, allocations: 75.33 kB / 5.136 GB, free: 87.56 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/15.88, allocations: 46.78 kB / 5.136 GB, free: 87.56 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002867/15.89, allocations: 1.014 MB / 5.137 GB, free: 87.39 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.61e-07/15.89, allocations: 1.156 kB / 5.137 GB, free: 87.39 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.008819/15.89, allocations: 1.3 MB / 5.138 GB, free: 87.36 MB / 0.9948 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.x[1],mov.filter.x[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 (103): * Single equations (assignments): 99 * 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.01299/15.91, allocations: 6.147 MB / 5.144 GB, free: 84.91 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005613/15.91, allocations: 2.226 MB / 5.146 GB, free: 84.46 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/15.91, allocations: 3.484 kB / 5.146 GB, free: 84.46 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/15.92, allocations: 0.7584 MB / 5.147 GB, free: 84.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006461/15.92, allocations: 0.9669 MB / 5.148 GB, free: 84.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/15.94, allocations: 3.749 MB / 5.152 GB, free: 83.28 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0029/15.94, allocations: 1.634 MB / 5.153 GB, free: 82.55 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005478/15.95, allocations: 0.6961 MB / 5.154 GB, free: 82.53 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/15.95, allocations: 0.8192 MB / 5.155 GB, free: 82.52 MB / 0.9948 GB Notification: Performance of SimCode: time 1.252e-06/15.95, allocations: 0 / 5.155 GB, free: 82.52 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1812/16.13, allocations: 106.5 MB / 5.259 GB, free: 78.55 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/16.13, allocations: 203 kB / 5.259 GB, free: 78.34 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.187/22.32, allocations: 4 kB / 5.259 GB, free: 78.33 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)