Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_latest_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.001543/0.001543, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.536/2.536, allocations: 461.9 MB / 0.7346 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 65.94 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2865, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.649/0.9355, allocations: 236.4 MB / 1.284 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02026/0.9558, allocations: 17.54 MB / 1.301 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002189/0.9581, allocations: 92.31 kB / 1.301 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008103/0.9662, allocations: 4.601 MB / 1.305 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007675/0.9739, allocations: 3.448 MB / 1.309 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005187/0.979, allocations: 2.505 MB / 1.311 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008032/0.9871, allocations: 7.747 MB / 1.319 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.989, allocations: 1.922 MB / 1.321 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/0.9929, allocations: 2.64 MB / 1.323 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.9945, allocations: 1.613 MB / 1.325 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.9948, allocations: 201.6 kB / 1.325 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005019/0.9998, allocations: 3.594 MB / 1.329 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005894/1, allocations: 0.8825 MB / 1.329 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009754/1.001, allocations: 1.374 MB / 1.331 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00436/1.006, allocations: 4.818 MB / 1.335 GB, free: 248 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/1.006, allocations: 3.188 kB / 1.335 GB, free: 248 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.012e-06/1.006, allocations: 0 / 1.335 GB, free: 248 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.423e-05/1.006, allocations: 0 / 1.335 GB, free: 248 kB / 0.9981 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.004291/1.01, allocations: 3.228 MB / 1.339 GB, free: 14.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/1.01, allocations: 10.72 kB / 1.339 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002217/1.01, allocations: 198.7 kB / 1.339 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004734/1.015, allocations: 0.8869 MB / 1.34 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/1.018, allocations: 2.664 MB / 1.342 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/1.019, allocations: 164.9 kB / 1.342 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/1.019, allocations: 150.1 kB / 1.343 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/1.022, allocations: 1.684 MB / 1.344 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/1.022, allocations: 0 / 1.344 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/1.022, allocations: 54.41 kB / 1.344 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/1.022, allocations: 53.14 kB / 1.344 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/1.025, allocations: 1.461 MB / 1.346 GB, free: 13.48 MB / 1.014 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.009179/1.034, allocations: 8.182 MB / 1.354 GB, free: 9.188 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/1.037, allocations: 1.571 MB / 1.355 GB, free: 8.484 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/1.038, allocations: 0.5203 MB / 1.356 GB, free: 8.414 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/1.039, allocations: 0.7749 MB / 1.357 GB, free: 7.602 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/1.04, allocations: 0.5412 MB / 1.357 GB, free: 7.418 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.424e-06/1.04, allocations: 3.938 kB / 1.357 GB, free: 7.414 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003709/1.044, allocations: 1.638 MB / 1.359 GB, free: 6.816 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/1.044, allocations: 60.03 kB / 1.359 GB, free: 6.754 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/1.046, allocations: 2.135 MB / 1.361 GB, free: 5.605 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.006e-05/1.046, allocations: 47.39 kB / 1.361 GB, free: 5.559 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007567/1.047, allocations: 1.055 MB / 1.362 GB, free: 4.637 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/1.047, allocations: 299.6 kB / 1.362 GB, free: 4.387 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/1.047, allocations: 322.5 kB / 1.363 GB, free: 4.207 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.171e-05/1.047, allocations: 301.1 kB / 1.363 GB, free: 3.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/1.049, allocations: 0.6288 MB / 1.363 GB, free: 3.594 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/1.05, allocations: 1.012 MB / 1.364 GB, free: 2.809 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/1.053, allocations: 1.571 MB / 1.366 GB, free: 1.809 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.053, allocations: 4.531 kB / 1.366 GB, free: 1.809 MB / 1.014 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003076/1.056, allocations: 1.913 MB / 1.368 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/1.056, allocations: 38.45 kB / 1.368 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.056, allocations: 9.469 kB / 1.368 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/1.056, allocations: 16.81 kB / 1.368 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.057, allocations: 333.4 kB / 1.368 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/1.057, allocations: 19.94 kB / 1.368 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/1.058, allocations: 185.5 kB / 1.368 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/1.058, allocations: 57.14 kB / 1.368 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001752/1.06, allocations: 1.119 MB / 1.37 GB, free: 52 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001422/1.062, allocations: 1.014 MB / 1.371 GB, free: 15.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002369/1.064, allocations: 1.57 MB / 1.372 GB, free: 14.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/1.064, allocations: 2.531 kB / 1.372 GB, free: 14.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003061/1.067, allocations: 1.925 MB / 1.374 GB, free: 13.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.067, allocations: 33.58 kB / 1.374 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.067, allocations: 8.438 kB / 1.374 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/1.067, allocations: 19.44 kB / 1.374 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.068, allocations: 324.8 kB / 1.374 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.068, allocations: 17.91 kB / 1.374 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.07, allocations: 168.8 kB / 1.374 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.64e-05/1.07, allocations: 60.55 kB / 1.375 GB, free: 13.15 MB / 1.029 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.0002351/1.07, allocations: 264.5 kB / 1.375 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/1.07, allocations: 215.6 kB / 1.375 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/1.073, allocations: 1.185 MB / 1.376 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/1.073, allocations: 8.344 kB / 1.376 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.073, allocations: 6.906 kB / 1.376 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002141/1.075, allocations: 1.246 MB / 1.377 GB, free: 11.29 MB / 1.029 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.00484/1.08, allocations: 3.107 MB / 1.38 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.08, allocations: 10.81 kB / 1.38 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008756/1.081, allocations: 187.5 kB / 1.381 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/1.081, allocations: 55.58 kB / 1.381 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/1.081, allocations: 22.83 kB / 1.381 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/1.082, allocations: 1.537 MB / 1.382 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/1.082, allocations: 0 / 1.382 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/1.085, allocations: 1.778 MB / 1.384 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/1.086, allocations: 398.1 kB / 1.384 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/1.086, allocations: 23.98 kB / 1.384 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.087, allocations: 67.12 kB / 1.384 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.087, allocations: 64.56 kB / 1.384 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/1.087, allocations: 27.98 kB / 1.384 GB, free: 5.926 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001688/1.089, allocations: 1.425 MB / 1.386 GB, free: 4.488 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.11e-07/1.089, allocations: 4 kB / 1.386 GB, free: 4.484 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002428/1.092, allocations: 1.095 MB / 1.387 GB, free: 3.387 MB / 1.029 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.005519/1.097, allocations: 2.954 MB / 1.39 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004677/1.102, allocations: 2.449 MB / 1.392 GB, free: 14.17 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.102, allocations: 0 / 1.392 GB, free: 14.17 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/1.103, allocations: 0.6143 MB / 1.393 GB, free: 13.56 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/1.107, allocations: 1.036 MB / 1.394 GB, free: 12.56 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/1.132, allocations: 17.18 MB / 1.411 GB, free: 10.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/1.133, allocations: 1.656 MB / 1.412 GB, free: 8.488 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002024/1.135, allocations: 0.5558 MB / 1.413 GB, free: 7.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/1.136, allocations: 0.9327 MB / 1.414 GB, free: 6.996 MB / 1.061 GB Notification: Performance of SimCode: time 2.51e-07/1.136, allocations: 4 kB / 1.414 GB, free: 6.992 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.26/3.396, allocations: 55.66 MB / 1.468 GB, free: 68 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/19.94, allocations: 8 kB / 1.468 GB, free: 60 kB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)