Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_10_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.007901/0.007901, allocations: 98.64 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.002211/0.002211, allocations: 194.5 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.328/2.328, allocations: 437.1 MB / 0.7106 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 67.89 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2385, allocations: 151.6 MB / 1.166 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6625/0.901, allocations: 236.4 MB / 1.397 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02232/0.9234, allocations: 17.53 MB / 1.414 GB, free: 1.789 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.9251, allocations: 91.75 kB / 1.414 GB, free: 1.758 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004122/0.9293, allocations: 2.127 MB / 1.416 GB, free: 268 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006429/0.9357, allocations: 3.574 MB / 1.42 GB, free: 13.49 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.9403, allocations: 2.583 MB / 1.422 GB, free: 11.62 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00824/0.9486, allocations: 7.88 MB / 1.43 GB, free: 6.496 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002169/0.9507, allocations: 1.938 MB / 1.432 GB, free: 4.516 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004077/0.9548, allocations: 2.685 MB / 1.435 GB, free: 1.82 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.957, allocations: 1.626 MB / 1.436 GB, free: 200 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003056/0.9574, allocations: 212 kB / 1.436 GB, free: 15.98 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005466/0.9628, allocations: 3.598 MB / 1.44 GB, free: 12.38 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000808/0.9637, allocations: 0.8996 MB / 1.441 GB, free: 11.48 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.965, allocations: 1.38 MB / 1.442 GB, free: 10.09 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005579/0.9706, allocations: 4.936 MB / 1.447 GB, free: 5.141 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.9706, allocations: 0 / 1.447 GB, free: 5.141 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9706, allocations: 0 / 1.447 GB, free: 5.141 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.424e-05/0.9706, allocations: 0 / 1.447 GB, free: 5.141 MB / 1.107 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.004595/0.9752, allocations: 3.347 MB / 1.45 GB, free: 1.711 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.9753, allocations: 19.97 kB / 1.45 GB, free: 1.691 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000231/0.9755, allocations: 198.4 kB / 1.45 GB, free: 1.488 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/0.9802, allocations: 0.8919 MB / 1.451 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003992/0.9842, allocations: 2.816 MB / 1.454 GB, free: 13.71 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.202e-05/0.9843, allocations: 114.6 kB / 1.454 GB, free: 13.59 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.9845, allocations: 147.9 kB / 1.454 GB, free: 13.45 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/0.9873, allocations: 1.664 MB / 1.456 GB, free: 11.71 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.9874, allocations: 3.938 kB / 1.456 GB, free: 11.7 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.9875, allocations: 55.98 kB / 1.456 GB, free: 11.65 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.782e-05/0.9876, allocations: 55.62 kB / 1.456 GB, free: 11.59 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003143/0.9907, allocations: 1.442 MB / 1.457 GB, free: 10.14 MB / 1.123 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.009594/1, allocations: 8.129 MB / 1.465 GB, free: 1.43 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/1.003, allocations: 1.559 MB / 1.467 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/1.004, allocations: 0.5141 MB / 1.467 GB, free: 15.21 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.005, allocations: 0.7785 MB / 1.468 GB, free: 14.29 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/1.006, allocations: 0.5314 MB / 1.469 GB, free: 13.75 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.354e-06/1.006, allocations: 0 / 1.469 GB, free: 13.75 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.00367/1.01, allocations: 1.619 MB / 1.47 GB, free: 12.1 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/1.01, allocations: 60.06 kB / 1.47 GB, free: 12.03 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/1.012, allocations: 2.16 MB / 1.472 GB, free: 9.844 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.268e-05/1.013, allocations: 41.7 kB / 1.472 GB, free: 9.797 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008419/1.013, allocations: 1.08 MB / 1.474 GB, free: 8.703 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/1.014, allocations: 313.4 kB / 1.474 GB, free: 8.395 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/1.014, allocations: 318.7 kB / 1.474 GB, free: 8.078 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.014, allocations: 309.1 kB / 1.474 GB, free: 7.773 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/1.015, allocations: 0.6157 MB / 1.475 GB, free: 7.156 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/1.017, allocations: 1.02 MB / 1.476 GB, free: 5.984 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/1.019, allocations: 1.548 MB / 1.478 GB, free: 4.309 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.019, allocations: 7.938 kB / 1.478 GB, free: 4.301 MB / 1.139 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003164/1.022, allocations: 1.91 MB / 1.479 GB, free: 2.375 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/1.023, allocations: 34.64 kB / 1.479 GB, free: 2.336 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/1.023, allocations: 12 kB / 1.479 GB, free: 2.324 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.023, allocations: 19.94 kB / 1.479 GB, free: 2.305 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/1.024, allocations: 319.6 kB / 1.48 GB, free: 1.992 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/1.024, allocations: 27.88 kB / 1.48 GB, free: 1.965 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.025, allocations: 190.9 kB / 1.48 GB, free: 1.777 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.817e-05/1.025, allocations: 59.92 kB / 1.48 GB, free: 1.719 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001736/1.027, allocations: 1.117 MB / 1.481 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001458/1.028, allocations: 1.003 MB / 1.482 GB, free: 15.44 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002455/1.031, allocations: 1.55 MB / 1.484 GB, free: 13.75 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.627e-06/1.031, allocations: 0 / 1.484 GB, free: 13.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003151/1.034, allocations: 1.925 MB / 1.486 GB, free: 11.82 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/1.034, allocations: 37.7 kB / 1.486 GB, free: 11.78 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.034, allocations: 8 kB / 1.486 GB, free: 11.77 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/1.034, allocations: 16 kB / 1.486 GB, free: 11.76 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/1.035, allocations: 331.6 kB / 1.486 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/1.035, allocations: 20.64 kB / 1.486 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/1.036, allocations: 159.3 kB / 1.486 GB, free: 11.26 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-05/1.036, allocations: 59.98 kB / 1.486 GB, free: 11.2 MB / 1.154 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.0002384/1.037, allocations: 270.2 kB / 1.486 GB, free: 10.93 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/1.037, allocations: 226.5 kB / 1.487 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/1.039, allocations: 1.178 MB / 1.488 GB, free: 9.52 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/1.039, allocations: 8 kB / 1.488 GB, free: 9.512 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.039, allocations: 0 / 1.488 GB, free: 9.512 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002177/1.042, allocations: 1.235 MB / 1.489 GB, free: 8.188 MB / 1.154 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.004887/1.046, allocations: 3.112 MB / 1.492 GB, free: 4.969 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.047, allocations: 0 / 1.492 GB, free: 4.969 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008587/1.047, allocations: 191.9 kB / 1.492 GB, free: 4.781 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001823/1.048, allocations: 44.83 kB / 1.492 GB, free: 4.734 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/1.048, allocations: 23.98 kB / 1.492 GB, free: 4.711 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/1.049, allocations: 1.535 MB / 1.494 GB, free: 3.035 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.049, allocations: 4 kB / 1.494 GB, free: 3.031 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003308/1.052, allocations: 1.761 MB / 1.495 GB, free: 1.242 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005199/1.053, allocations: 419.3 kB / 1.496 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/1.053, allocations: 19.98 kB / 1.496 GB, free: 0.793 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009223/1.054, allocations: 71.94 kB / 1.496 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.054, allocations: 56.77 kB / 1.496 GB, free: 0.668 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.634e-05/1.054, allocations: 31.97 kB / 1.496 GB, free: 0.6367 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001749/1.056, allocations: 1.441 MB / 1.497 GB, free: 15.18 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.6e-07/1.056, allocations: 4 kB / 1.497 GB, free: 15.18 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001987/1.058, allocations: 1.111 MB / 1.499 GB, free: 14.07 MB / 1.17 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.005344/1.063, allocations: 2.954 MB / 1.501 GB, free: 11.21 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003875/1.067, allocations: 2.304 MB / 1.504 GB, free: 8.887 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.067, allocations: 0 / 1.504 GB, free: 8.887 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/1.068, allocations: 0.6083 MB / 1.504 GB, free: 8.262 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/1.072, allocations: 1.032 MB / 1.505 GB, free: 7.258 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/1.094, allocations: 15.62 MB / 1.521 GB, free: 7.168 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/1.095, allocations: 1.656 MB / 1.522 GB, free: 5.48 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001579/1.097, allocations: 0.5519 MB / 1.523 GB, free: 4.926 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.098, allocations: 0.9366 MB / 1.524 GB, free: 3.988 MB / 1.186 GB Notification: Performance of SimCode: time 4.11e-07/1.098, allocations: 0 / 1.524 GB, free: 3.988 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.891/6.989, allocations: 56.13 MB / 1.578 GB, free: 12.48 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.91/32.9, allocations: 8.047 kB / 1.578 GB, free: 12.47 MB / 1.248 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)