Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 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_11_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_11_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.008058/0.008058, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002133/0.002133, allocations: 202.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.467/2.467, allocations: 469.8 MB / 0.7426 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 71.83 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2456, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6769/0.9226, allocations: 236.4 MB / 1.451 GB, free: 8.973 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02299/0.9456, allocations: 17.54 MB / 1.468 GB, free: 7.391 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.9472, allocations: 91.5 kB / 1.468 GB, free: 7.301 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004253/0.9515, allocations: 2.118 MB / 1.47 GB, free: 5.18 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006525/0.9581, allocations: 3.576 MB / 1.474 GB, free: 1.59 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004728/0.9628, allocations: 2.591 MB / 1.476 GB, free: 15.02 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.008746/0.9716, allocations: 7.865 MB / 1.484 GB, free: 7.129 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.9737, allocations: 1.953 MB / 1.486 GB, free: 5.129 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003933/0.9776, allocations: 2.678 MB / 1.489 GB, free: 2.441 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.9798, allocations: 1.629 MB / 1.49 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002915/0.9802, allocations: 208 kB / 1.49 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005363/0.9855, allocations: 3.602 MB / 1.494 GB, free: 13 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007736/0.9863, allocations: 0.8919 MB / 1.495 GB, free: 12.11 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.9876, allocations: 1.384 MB / 1.496 GB, free: 10.72 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006919/0.9945, allocations: 4.924 MB / 1.501 GB, free: 5.777 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9945, allocations: 0 / 1.501 GB, free: 5.777 MB / 1.186 GB Notification: Performance of FrontEnd: time 4.318e-06/0.9946, allocations: 0 / 1.501 GB, free: 5.777 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.119e-05/0.9946, allocations: 11.88 kB / 1.501 GB, free: 5.766 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.005707/1, allocations: 3.347 MB / 1.504 GB, free: 2.336 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1, allocations: 8.031 kB / 1.504 GB, free: 2.328 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002492/1.001, allocations: 202.4 kB / 1.504 GB, free: 2.121 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/1.006, allocations: 0.888 MB / 1.505 GB, free: 1.23 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/1.01, allocations: 2.828 MB / 1.508 GB, free: 14.33 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-05/1.01, allocations: 106.6 kB / 1.508 GB, free: 14.23 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/1.01, allocations: 144 kB / 1.508 GB, free: 14.09 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003016/1.013, allocations: 1.664 MB / 1.51 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/1.013, allocations: 3.984 kB / 1.51 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/1.014, allocations: 60 kB / 1.51 GB, free: 12.28 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/1.014, allocations: 50.52 kB / 1.51 GB, free: 12.23 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/1.017, allocations: 1.446 MB / 1.511 GB, free: 10.78 MB / 1.201 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.01079/1.028, allocations: 8.134 MB / 1.519 GB, free: 2.055 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/1.03, allocations: 1.564 MB / 1.521 GB, free: 360 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/1.031, allocations: 0.5142 MB / 1.521 GB, free: 15.83 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/1.033, allocations: 0.7785 MB / 1.522 GB, free: 14.91 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/1.034, allocations: 0.5392 MB / 1.523 GB, free: 14.36 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 2.806e-06/1.034, allocations: 0 / 1.523 GB, free: 14.36 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.00397/1.038, allocations: 1.615 MB / 1.524 GB, free: 12.71 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/1.038, allocations: 60.06 kB / 1.524 GB, free: 12.64 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/1.041, allocations: 2.156 MB / 1.526 GB, free: 10.46 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.131e-05/1.041, allocations: 45.7 kB / 1.526 GB, free: 10.41 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000925/1.042, allocations: 1.076 MB / 1.528 GB, free: 9.32 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/1.042, allocations: 309.4 kB / 1.528 GB, free: 9.016 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004304/1.043, allocations: 323.4 kB / 1.528 GB, free: 8.695 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.043, allocations: 305.1 kB / 1.528 GB, free: 8.395 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/1.044, allocations: 0.6235 MB / 1.529 GB, free: 7.77 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/1.045, allocations: 1.014 MB / 1.53 GB, free: 6.598 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/1.048, allocations: 1.543 MB / 1.532 GB, free: 4.934 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/1.048, allocations: 8 kB / 1.532 GB, free: 4.926 MB / 1.217 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003338/1.051, allocations: 1.919 MB / 1.533 GB, free: 2.992 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/1.051, allocations: 33.7 kB / 1.533 GB, free: 2.953 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.051, allocations: 16 kB / 1.533 GB, free: 2.938 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/1.052, allocations: 16 kB / 1.533 GB, free: 2.922 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.053, allocations: 323.9 kB / 1.534 GB, free: 2.605 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/1.053, allocations: 23.92 kB / 1.534 GB, free: 2.582 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/1.054, allocations: 190.9 kB / 1.534 GB, free: 2.395 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/1.054, allocations: 55.94 kB / 1.534 GB, free: 2.34 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001862/1.056, allocations: 1.112 MB / 1.535 GB, free: 1.223 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001522/1.057, allocations: 1.004 MB / 1.536 GB, free: 76 kB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002603/1.06, allocations: 1.559 MB / 1.538 GB, free: 14.38 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.791e-06/1.06, allocations: 4 kB / 1.538 GB, free: 14.38 MB / 1.232 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003314/1.063, allocations: 1.909 MB / 1.54 GB, free: 12.45 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-05/1.064, allocations: 37.7 kB / 1.54 GB, free: 12.41 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.064, allocations: 12.84 kB / 1.54 GB, free: 12.39 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/1.064, allocations: 19.98 kB / 1.54 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.065, allocations: 323.5 kB / 1.54 GB, free: 12.06 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/1.065, allocations: 19.94 kB / 1.54 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/1.066, allocations: 163.3 kB / 1.54 GB, free: 11.88 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/1.066, allocations: 59.98 kB / 1.54 GB, free: 11.82 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (165): * Single equations (assignments): 162 * Array equations: 1 * 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.0002679/1.066, allocations: 271.8 kB / 1.54 GB, free: 11.55 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/1.067, allocations: 222.5 kB / 1.541 GB, free: 11.33 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/1.069, allocations: 1.182 MB / 1.542 GB, free: 10.14 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.609e-06/1.069, allocations: 8 kB / 1.542 GB, free: 10.13 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.069, allocations: 7.984 kB / 1.542 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00223/1.072, allocations: 1.227 MB / 1.543 GB, free: 8.805 MB / 1.232 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.005249/1.077, allocations: 3.101 MB / 1.546 GB, free: 5.598 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.077, allocations: 0 / 1.546 GB, free: 5.598 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008755/1.078, allocations: 187.9 kB / 1.546 GB, free: 5.414 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001932/1.078, allocations: 52.83 kB / 1.546 GB, free: 5.359 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/1.078, allocations: 27.98 kB / 1.546 GB, free: 5.332 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/1.079, allocations: 1.531 MB / 1.548 GB, free: 3.664 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.079, allocations: 4 kB / 1.548 GB, free: 3.66 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/1.083, allocations: 1.761 MB / 1.549 GB, free: 1.863 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/1.083, allocations: 419.3 kB / 1.55 GB, free: 1.434 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/1.084, allocations: 23.98 kB / 1.55 GB, free: 1.41 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009524/1.084, allocations: 70.38 kB / 1.55 GB, free: 1.344 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.085, allocations: 60.52 kB / 1.55 GB, free: 1.285 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/1.085, allocations: 31.97 kB / 1.55 GB, free: 1.254 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001905/1.087, allocations: 1.433 MB / 1.551 GB, free: 15.81 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.5e-07/1.087, allocations: 0 / 1.551 GB, free: 15.81 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002278/1.089, allocations: 1.115 MB / 1.553 GB, free: 14.69 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[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 (82): * Single equations (assignments): 79 * 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.04918/1.138, allocations: 2.961 MB / 1.555 GB, free: 11.83 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004645/1.143, allocations: 2.291 MB / 1.558 GB, free: 9.52 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.143, allocations: 4 kB / 1.558 GB, free: 9.516 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/1.144, allocations: 0.6083 MB / 1.558 GB, free: 8.898 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/1.148, allocations: 1.023 MB / 1.559 GB, free: 7.902 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/1.172, allocations: 15.62 MB / 1.574 GB, free: 7.797 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/1.173, allocations: 1.656 MB / 1.576 GB, free: 6.109 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001656/1.175, allocations: 0.5597 MB / 1.577 GB, free: 5.547 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.176, allocations: 0.9406 MB / 1.578 GB, free: 4.605 MB / 1.264 GB Notification: Performance of SimCode: time 3.7e-07/1.176, allocations: 0 / 1.578 GB, free: 4.605 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.498/2.674, allocations: 56.08 MB / 1.632 GB, free: 13.17 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.84/23.51, allocations: 10.16 kB / 1.632 GB, free: 13.16 MB / 1.326 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)