Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_9_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.009152/0.009152, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001811/0.001811, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.33/1.33, 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 9.1.3-maint.9.1.x/package.mo): time 2.207/2.207, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001158, allocations: 62.47 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2388, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7645/1.003, allocations: 236 MB / 1.318 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02047/1.024, allocations: 15.75 MB / 1.333 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003469/1.027, allocations: 88.75 kB / 1.333 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003558/1.031, allocations: 1.317 MB / 1.335 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008663/1.04, allocations: 3.415 MB / 1.338 GB, free: 2.234 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006231/1.046, allocations: 2.499 MB / 1.34 GB, free: 2.172 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007083/1.053, allocations: 4.969 MB / 1.345 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002837/1.056, allocations: 1.906 MB / 1.347 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00597/1.062, allocations: 2.685 MB / 1.35 GB, free: 280 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/1.065, allocations: 1.564 MB / 1.351 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004216/1.066, allocations: 201.8 kB / 1.352 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006822/1.072, allocations: 3.425 MB / 1.355 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/1.073, allocations: 0.7487 MB / 1.356 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001796/1.075, allocations: 1.196 MB / 1.357 GB, free: 14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007623/1.083, allocations: 4.31 MB / 1.361 GB, free: 12.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.083, allocations: 0 / 1.361 GB, free: 12.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/1.083, allocations: 0 / 1.361 GB, free: 12.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.183e-05/1.083, allocations: 0 / 1.361 GB, free: 12.67 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.004775/1.088, allocations: 2.817 MB / 1.364 GB, free: 10.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/1.088, allocations: 10.78 kB / 1.364 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002197/1.088, allocations: 196.2 kB / 1.364 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00521/1.093, allocations: 0.8621 MB / 1.365 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/1.097, allocations: 1.762 MB / 1.367 GB, free: 9.738 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.438e-05/1.097, allocations: 113.2 kB / 1.367 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/1.097, allocations: 138.7 kB / 1.367 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/1.1, allocations: 1.67 MB / 1.368 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/1.1, allocations: 2.625 kB / 1.368 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/1.1, allocations: 58.66 kB / 1.368 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/1.1, allocations: 48.09 kB / 1.368 GB, free: 8.875 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/1.104, allocations: 1.474 MB / 1.37 GB, free: 8.395 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 preOpt removeSimpleEquations (simulation): time 0.01037/1.114, allocations: 7.778 MB / 1.378 GB, free: 2.605 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/1.117, allocations: 1.608 MB / 1.379 GB, free: 1.406 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/1.118, allocations: 0.5306 MB / 1.38 GB, free: 1.148 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/1.119, allocations: 0.7806 MB / 1.38 GB, free: 328 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001226/1.12, allocations: 0.578 MB / 1.381 GB, free: 15.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=83): time 2.866e-06/1.12, allocations: 0 / 1.381 GB, free: 15.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=83): time 0.00419/1.125, allocations: 1.636 MB / 1.383 GB, free: 15.13 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/1.125, allocations: 68.84 kB / 1.383 GB, free: 15.06 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/1.127, allocations: 1.568 MB / 1.384 GB, free: 14.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/1.127, allocations: 43.2 kB / 1.384 GB, free: 14.19 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000765/1.127, allocations: 0.9252 MB / 1.385 GB, free: 13.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/1.128, allocations: 293.3 kB / 1.385 GB, free: 13.13 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/1.128, allocations: 211.6 kB / 1.386 GB, free: 13.01 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.128, allocations: 348.2 kB / 1.386 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/1.129, allocations: 483.1 kB / 1.386 GB, free: 12.44 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/1.13, allocations: 0.8007 MB / 1.387 GB, free: 11.79 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/1.133, allocations: 1.247 MB / 1.388 GB, free: 10.97 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.133, allocations: 5.25 kB / 1.388 GB, free: 10.97 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0029/1.136, allocations: 1.465 MB / 1.39 GB, free: 10.28 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/1.136, allocations: 32.55 kB / 1.39 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.136, allocations: 8.938 kB / 1.39 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.136, allocations: 12.88 kB / 1.39 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.137, allocations: 279.4 kB / 1.39 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/1.137, allocations: 24.83 kB / 1.39 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/1.138, allocations: 148.8 kB / 1.39 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/1.138, allocations: 49.33 kB / 1.39 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001608/1.14, allocations: 0.8308 MB / 1.391 GB, free: 9.617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001234/1.141, allocations: 0.7799 MB / 1.392 GB, free: 8.973 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002288/1.143, allocations: 1.221 MB / 1.393 GB, free: 8.16 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.534e-06/1.143, allocations: 5.422 kB / 1.393 GB, free: 8.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.003065/1.147, allocations: 1.44 MB / 1.394 GB, free: 7.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/1.147, allocations: 37.31 kB / 1.395 GB, free: 7.445 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.147, allocations: 10.72 kB / 1.395 GB, free: 7.445 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.147, allocations: 13.06 kB / 1.395 GB, free: 7.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.148, allocations: 272.6 kB / 1.395 GB, free: 7.395 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/1.148, allocations: 23.92 kB / 1.395 GB, free: 7.391 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/1.149, allocations: 131.8 kB / 1.395 GB, free: 7.316 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.539e-05/1.149, allocations: 48.64 kB / 1.395 GB, free: 7.305 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (131): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0003058/1.15, allocations: 249.9 kB / 1.395 GB, free: 7.086 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/1.15, allocations: 181.2 kB / 1.395 GB, free: 6.988 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/1.153, allocations: 1.204 MB / 1.397 GB, free: 6.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.153, allocations: 12.78 kB / 1.397 GB, free: 6.316 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.153, allocations: 2.594 kB / 1.397 GB, free: 6.316 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002284/1.155, allocations: 1.278 MB / 1.398 GB, free: 5.438 MB / 1.045 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.005772/1.161, allocations: 2.974 MB / 1.401 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.161, allocations: 7.375 kB / 1.401 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009459/1.162, allocations: 193.8 kB / 1.401 GB, free: 3.438 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002044/1.162, allocations: 48.58 kB / 1.401 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.48e-05/1.162, allocations: 26.14 kB / 1.401 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/1.163, allocations: 1.535 MB / 1.403 GB, free: 1.863 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.163, allocations: 2.594 kB / 1.403 GB, free: 1.863 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003763/1.167, allocations: 1.787 MB / 1.404 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007915/1.168, allocations: 346.7 kB / 1.405 GB, free: 380 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/1.168, allocations: 23.98 kB / 1.405 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.169, allocations: 70.47 kB / 1.405 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.169, allocations: 60.56 kB / 1.405 GB, free: 228 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.279e-05/1.17, allocations: 27.98 kB / 1.405 GB, free: 200 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001724/1.171, allocations: 1.057 MB / 1.406 GB, free: 15.15 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.11e-07/1.171, allocations: 0 / 1.406 GB, free: 15.15 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002539/1.174, allocations: 0.9388 MB / 1.407 GB, free: 14.21 MB / 1.061 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 (83): * Single equations (assignments): 80 * 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.005307/1.179, allocations: 2.829 MB / 1.409 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004061/1.183, allocations: 1.843 MB / 1.411 GB, free: 9.699 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.183, allocations: 2.531 kB / 1.411 GB, free: 9.699 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/1.185, allocations: 0.6315 MB / 1.412 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/1.188, allocations: 0.8291 MB / 1.413 GB, free: 8.258 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/1.212, allocations: 12.72 MB / 1.425 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/1.213, allocations: 1.491 MB / 1.427 GB, free: 9.633 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001716/1.215, allocations: 454.3 kB / 1.427 GB, free: 9.184 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.216, allocations: 0.7648 MB / 1.428 GB, free: 8.418 MB / 1.076 GB Notification: Performance of SimCode: time 9.31e-07/1.216, allocations: 0 / 1.428 GB, free: 8.418 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08535/1.301, allocations: 45.4 MB / 1.472 GB, free: 11.53 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.71/20.02, allocations: 15.8 kB / 1.472 GB, free: 11.52 MB / 1.123 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)