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.001025/0.001025, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008506/0.008506, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.654/1.654, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000577/0.0005771, allocations: 18.23 kB / 0.6744 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2165, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7386/0.9551, allocations: 230.7 MB / 1.013 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02793/0.9831, allocations: 18.54 MB / 1.031 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004418/0.9876, allocations: 81.75 kB / 1.031 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004171/0.9918, allocations: 1.184 MB / 1.033 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009297/1.001, allocations: 3.173 MB / 1.036 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.008863/1.01, allocations: 3.264 MB / 1.039 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007859/1.018, allocations: 6.573 MB / 1.045 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/1.021, allocations: 1.589 MB / 1.047 GB, free: 432 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0055/1.026, allocations: 2.351 MB / 1.049 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003233/1.029, allocations: 1.536 MB / 1.051 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004164/1.03, allocations: 80.25 kB / 1.051 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007203/1.037, allocations: 3.874 MB / 1.055 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0008619/1.038, allocations: 0.6228 MB / 1.055 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001626/1.04, allocations: 1.089 MB / 1.056 GB, free: 9.355 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00655/1.046, allocations: 4.424 MB / 1.061 GB, free: 4.918 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.046, allocations: 0 / 1.061 GB, free: 4.918 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.343e-06/1.046, allocations: 0 / 1.061 GB, free: 4.918 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.906e-05/1.046, allocations: 0 / 1.061 GB, free: 4.918 MB / 0.7637 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.004881/1.051, allocations: 2.465 MB / 1.063 GB, free: 2.387 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.051, allocations: 8.031 kB / 1.063 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003472/1.052, allocations: 198.4 kB / 1.063 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/1.056, allocations: 0.8089 MB / 1.064 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/1.059, allocations: 1.669 MB / 1.066 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004007/1.06, allocations: 170.8 kB / 1.066 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/1.06, allocations: 140 kB / 1.066 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/1.063, allocations: 1.702 MB / 1.067 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/1.063, allocations: 0 / 1.067 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/1.064, allocations: 60 kB / 1.068 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-05/1.064, allocations: 46.53 kB / 1.068 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003493/1.067, allocations: 1.493 MB / 1.069 GB, free: 11.95 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 preOpt removeSimpleEquations (simulation): time 0.009851/1.077, allocations: 7.565 MB / 1.076 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/1.08, allocations: 1.653 MB / 1.078 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/1.081, allocations: 0.5315 MB / 1.079 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/1.082, allocations: 0.8142 MB / 1.079 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/1.084, allocations: 0.579 MB / 1.08 GB, free: 15.97 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006081/1.084, allocations: 119.2 kB / 1.08 GB, free: 15.86 MB / 0.795 GB Notification: Performance of pre-optimization done (n=84): time 3.056e-06/1.084, allocations: 0 / 1.08 GB, free: 15.86 MB / 0.795 GB Notification: Performance of matching and sorting (n=84): time 0.004088/1.088, allocations: 1.652 MB / 1.082 GB, free: 14.17 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/1.088, allocations: 115.8 kB / 1.082 GB, free: 14.04 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/1.09, allocations: 1.592 MB / 1.083 GB, free: 12.39 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.921e-05/1.09, allocations: 53.69 kB / 1.083 GB, free: 12.34 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000737/1.091, allocations: 0.9243 MB / 1.084 GB, free: 11.4 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/1.092, allocations: 299.6 kB / 1.085 GB, free: 11.11 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/1.092, allocations: 101.7 kB / 1.085 GB, free: 11 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.092, allocations: 353.9 kB / 1.085 GB, free: 10.65 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/1.093, allocations: 482.3 kB / 1.085 GB, free: 10.18 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/1.094, allocations: 0.843 MB / 1.086 GB, free: 9.176 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/1.097, allocations: 1.296 MB / 1.088 GB, free: 7.754 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.097, allocations: 4 kB / 1.088 GB, free: 7.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003035/1.1, allocations: 1.512 MB / 1.089 GB, free: 6.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002464/1.1, allocations: 395.7 kB / 1.089 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/1.1, allocations: 8 kB / 1.089 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/1.1, allocations: 16 kB / 1.089 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.101, allocations: 275.6 kB / 1.09 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/1.101, allocations: 23.92 kB / 1.09 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/1.103, allocations: 152.4 kB / 1.09 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.764e-05/1.103, allocations: 51.98 kB / 1.09 GB, free: 5.191 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/1.103, allocations: 4 kB / 1.09 GB, free: 5.188 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002724/1.106, allocations: 1.309 MB / 1.091 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/1.106, allocations: 19.92 kB / 1.091 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.106, allocations: 12.88 kB / 1.091 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/1.107, allocations: 283.6 kB / 1.091 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/1.107, allocations: 15.94 kB / 1.092 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.108, allocations: 160.4 kB / 1.092 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.108, allocations: 59.92 kB / 1.092 GB, free: 3.336 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007736/1.109, allocations: 0.5436 MB / 1.092 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/1.109, allocations: 177.8 kB / 1.092 GB, free: 2.605 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002799/1.112, allocations: 1.204 MB / 1.094 GB, free: 1.383 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/1.112, allocations: 8 kB / 1.094 GB, free: 1.375 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/1.112, allocations: 3.984 kB / 1.094 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002369/1.114, allocations: 1.277 MB / 1.095 GB, free: 4 kB / 0.795 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.005212/1.12, allocations: 2.936 MB / 1.098 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/1.12, allocations: 4 kB / 1.098 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000987/1.121, allocations: 199.8 kB / 1.098 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/1.121, allocations: 44.83 kB / 1.098 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.959e-05/1.121, allocations: 23.98 kB / 1.098 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/1.122, allocations: 1.417 MB / 1.099 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/1.122, allocations: 4 kB / 1.099 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/1.126, allocations: 1.842 MB / 1.101 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005314/1.126, allocations: 334.7 kB / 1.101 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.127, allocations: 20 kB / 1.102 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.128, allocations: 159.8 kB / 1.102 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/1.128, allocations: 56.58 kB / 1.102 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/1.128, allocations: 27.98 kB / 1.102 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001501/1.13, allocations: 1.069 MB / 1.103 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/1.13, allocations: 0 / 1.103 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002622/1.132, allocations: 0.9974 MB / 1.104 GB, free: 6.555 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005518/1.138, allocations: 2.936 MB / 1.107 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003824/1.142, allocations: 1.95 MB / 1.109 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.142, allocations: 8.625 kB / 1.109 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/1.143, allocations: 0.6273 MB / 1.109 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/1.147, allocations: 0.8001 MB / 1.11 GB, free: 288 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02616/1.173, allocations: 14.95 MB / 1.125 GB, free: 360 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.174, allocations: 1.503 MB / 1.126 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001947/1.176, allocations: 454.6 kB / 1.126 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.177, allocations: 0.7804 MB / 1.127 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.164e-06/1.177, allocations: 0 / 1.127 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07426/1.251, allocations: 45.05 MB / 1.171 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/1.252, allocations: 267.5 kB / 1.171 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.072/4.323, allocations: 0 / 1.171 GB, free: 0.7812 MB / 0.8731 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/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)