Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009026/0.0009025, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005363/0.0005365, allocations: 20.06 kB / 0.6738 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2602, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7314/0.9916, allocations: 215.2 MB / 0.9976 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02963/1.021, allocations: 17.11 MB / 1.014 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004284/1.026, allocations: 72.41 kB / 1.014 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004336/1.03, allocations: 0.9016 MB / 1.015 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009922/1.04, allocations: 2.523 MB / 1.018 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0116/1.052, allocations: 2.855 MB / 1.02 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01003/1.062, allocations: 5.607 MB / 1.026 GB, free: 188 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004065/1.066, allocations: 1.383 MB / 1.027 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007413/1.073, allocations: 2.129 MB / 1.029 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003742/1.077, allocations: 1.489 MB / 1.031 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007953/1.078, allocations: 82.06 kB / 1.031 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006716/1.085, allocations: 2.22 MB / 1.033 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/1.086, allocations: 0.6275 MB / 1.034 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/1.087, allocations: 463.2 kB / 1.034 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00558/1.093, allocations: 3.101 MB / 1.037 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.093, allocations: 3.938 kB / 1.037 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.575e-06/1.093, allocations: 4 kB / 1.037 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001374/1.093, allocations: 2.531 kB / 1.037 GB, free: 9.453 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.006221/1.099, allocations: 2.49 MB / 1.04 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.099, allocations: 10.56 kB / 1.04 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000587/1.1, allocations: 205.1 kB / 1.04 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005083/1.105, allocations: 0.8131 MB / 1.041 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/1.109, allocations: 1.59 MB / 1.042 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004396/1.11, allocations: 172.2 kB / 1.042 GB, free: 5.863 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004934/1.11, allocations: 142 kB / 1.042 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004622/1.115, allocations: 1.698 MB / 1.044 GB, free: 4.758 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/1.115, allocations: 3.938 kB / 1.044 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/1.115, allocations: 57.73 kB / 1.044 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-05/1.115, allocations: 53.75 kB / 1.044 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/1.119, allocations: 1.491 MB / 1.046 GB, free: 3.273 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01311/1.132, allocations: 7.62 MB / 1.053 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/1.135, allocations: 1.657 MB / 1.055 GB, free: 9.312 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/1.136, allocations: 0.5354 MB / 1.055 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/1.138, allocations: 0.8103 MB / 1.056 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/1.139, allocations: 0.5829 MB / 1.057 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001098/1.14, allocations: 127.1 kB / 1.057 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=84): time 5.1e-06/1.14, allocations: 0 / 1.057 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of matching and sorting (n=84): time 0.0044/1.145, allocations: 1.66 MB / 1.058 GB, free: 5.41 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.416e-05/1.145, allocations: 141.5 kB / 1.059 GB, free: 5.242 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003128/1.148, allocations: 1.62 MB / 1.06 GB, free: 3.574 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/1.148, allocations: 53.69 kB / 1.06 GB, free: 3.516 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009544/1.149, allocations: 0.9244 MB / 1.061 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004/1.15, allocations: 303.6 kB / 1.061 GB, free: 2.281 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/1.15, allocations: 20 kB / 1.061 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.15, allocations: 349.9 kB / 1.062 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/1.151, allocations: 470.3 kB / 1.062 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/1.152, allocations: 0.8352 MB / 1.063 GB, free: 468 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/1.154, allocations: 0.5785 MB / 1.064 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.154, allocations: 4 kB / 1.064 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003509/1.157, allocations: 1.481 MB / 1.065 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000315/1.158, allocations: 369 kB / 1.065 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/1.158, allocations: 15.92 kB / 1.065 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.602e-05/1.158, allocations: 16 kB / 1.065 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.159, allocations: 283.5 kB / 1.066 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.068e-05/1.159, allocations: 19.98 kB / 1.066 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.161, allocations: 151.4 kB / 1.066 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/1.161, allocations: 55.98 kB / 1.066 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.161, allocations: 7.938 kB / 1.066 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00295/1.164, allocations: 1.302 MB / 1.067 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/1.164, allocations: 11.98 kB / 1.067 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.164, allocations: 19.95 kB / 1.067 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.165, allocations: 275.9 kB / 1.067 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.802e-05/1.165, allocations: 19.94 kB / 1.067 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/1.167, allocations: 162.9 kB / 1.068 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/1.167, allocations: 51.98 kB / 1.068 GB, free: 11.53 MB / 0.7794 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001038/1.168, allocations: 0.5337 MB / 1.068 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004497/1.169, allocations: 185.7 kB / 1.068 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/1.172, allocations: 1.232 MB / 1.07 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.172, allocations: 8 kB / 1.07 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.172, allocations: 0 / 1.07 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002379/1.174, allocations: 1.278 MB / 1.071 GB, free: 8.18 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00658/1.181, allocations: 2.98 MB / 1.074 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.181, allocations: 0 / 1.074 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.182, allocations: 195.9 kB / 1.074 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003085/1.182, allocations: 52.81 kB / 1.074 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.182, allocations: 23.98 kB / 1.074 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/1.184, allocations: 1.421 MB / 1.075 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.184, allocations: 12.05 kB / 1.075 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/1.188, allocations: 1.846 MB / 1.077 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.189, allocations: 350.7 kB / 1.077 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004727/1.189, allocations: 20 kB / 1.078 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/1.191, allocations: 155.8 kB / 1.078 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/1.191, allocations: 68.52 kB / 1.078 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-05/1.191, allocations: 31.98 kB / 1.078 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002219/1.193, allocations: 1.086 MB / 1.079 GB, free: 15.62 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.01e-07/1.193, allocations: 3.938 kB / 1.079 GB, free: 15.62 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004147/1.198, allocations: 1.013 MB / 1.08 GB, free: 14.61 MB / 0.795 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.x[1],mov.filter.x[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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.006118/1.204, allocations: 2.932 MB / 1.083 GB, free: 11.77 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004311/1.208, allocations: 1.93 MB / 1.085 GB, free: 9.805 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.208, allocations: 0 / 1.085 GB, free: 9.805 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001393/1.21, allocations: 0.6359 MB / 1.085 GB, free: 9.156 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004417/1.214, allocations: 0.8133 MB / 1.086 GB, free: 8.34 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02611/1.24, allocations: 12.01 MB / 1.098 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/1.242, allocations: 1.507 MB / 1.099 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002257/1.244, allocations: 442.8 kB / 1.1 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.245, allocations: 0.7882 MB / 1.1 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of SimCode: time 1.092e-06/1.245, allocations: 0 / 1.1 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08911/1.334, allocations: 49.01 MB / 1.148 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/1.335, allocations: 242.6 kB / 1.148 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.589/4.923, allocations: 0 / 1.148 GB, free: 8.059 MB / 0.8575 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: