Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.827/2.827, allocations: 287.5 MB / 302.4 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.001369, allocations: 188.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.207/2.207, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.00101, allocations: 93.27 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006603/0.0006605, allocations: 12.84 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2301, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.309/1.54, allocations: 347.2 MB / 1.317 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0947/1.634, allocations: 43.93 MB / 1.36 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007236/1.642, allocations: 143.1 kB / 1.361 GB, free: 4.371 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.009415/1.651, allocations: 1.785 MB / 1.362 GB, free: 2.574 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0231/1.674, allocations: 5.271 MB / 1.367 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.01302/1.687, allocations: 2.787 MB / 1.37 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.02527/1.713, allocations: 13.04 MB / 1.383 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/1.724, allocations: 3.934 MB / 1.387 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01759/1.741, allocations: 4.855 MB / 1.391 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009007/1.75, allocations: 3.272 MB / 1.395 GB, free: 1.305 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001943/1.752, allocations: 171.9 kB / 1.395 GB, free: 1.137 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01596/1.768, allocations: 3.356 MB / 1.398 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.004291/1.773, allocations: 1.323 MB / 1.399 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.003725/1.776, allocations: 1.003 MB / 1.4 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.015/1.792, allocations: 6.617 MB / 1.407 GB, free: 4.801 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.792, allocations: 0 / 1.407 GB, free: 4.801 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.407e-06/1.792, allocations: 0 / 1.407 GB, free: 4.801 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002719/1.792, allocations: 0 / 1.407 GB, free: 4.801 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01664/1.809, allocations: 4.759 MB / 1.411 GB, free: 15.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.809, allocations: 12.03 kB / 1.411 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001737/1.81, allocations: 463.8 kB / 1.412 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01824/1.829, allocations: 1.918 MB / 1.414 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/1.841, allocations: 3.378 MB / 1.417 GB, free: 10.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003443/1.845, allocations: 0.697 MB / 1.418 GB, free: 9.387 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/1.846, allocations: 348 kB / 1.418 GB, free: 9.047 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01779/1.864, allocations: 4.597 MB / 1.423 GB, free: 4.352 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/1.864, allocations: 7.938 kB / 1.423 GB, free: 4.344 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006284/1.865, allocations: 140 kB / 1.423 GB, free: 4.207 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002166/1.865, allocations: 138.4 kB / 1.423 GB, free: 4.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7026/2.567, allocations: 4.18 MB / 1.427 GB, free: 349.3 MB / 0.948 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.05375/2.621, allocations: 18.78 MB / 1.445 GB, free: 337.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/2.632, allocations: 2.066 MB / 1.447 GB, free: 337 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005849/2.638, allocations: 1.095 MB / 1.448 GB, free: 336.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/2.639, allocations: 445.3 kB / 1.449 GB, free: 336.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005835/2.645, allocations: 1.276 MB / 1.45 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003133/2.648, allocations: 178.9 kB / 1.45 GB, free: 335.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=135): time 1.115e-05/2.648, allocations: 0 / 1.45 GB, free: 335.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=135): time 0.0187/2.667, allocations: 3.308 MB / 1.453 GB, free: 334.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/2.667, allocations: 143.9 kB / 1.454 GB, free: 334.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/2.679, allocations: 3.647 MB / 1.457 GB, free: 333.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005854/2.68, allocations: 61.17 kB / 1.457 GB, free: 333.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002683/2.683, allocations: 2.005 MB / 1.459 GB, free: 331.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009409/2.684, allocations: 469.8 kB / 1.46 GB, free: 331.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/2.684, allocations: 35.19 kB / 1.46 GB, free: 331.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001851/2.684, allocations: 387.4 kB / 1.46 GB, free: 330.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005635/2.69, allocations: 1.15 MB / 1.461 GB, free: 330.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006546/2.696, allocations: 1.835 MB / 1.463 GB, free: 329.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006161/2.703, allocations: 1.307 MB / 1.464 GB, free: 329 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/2.703, allocations: 4.562 kB / 1.464 GB, free: 329 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01881/2.721, allocations: 3.264 MB / 1.467 GB, free: 327.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007266/2.722, allocations: 0.5943 MB / 1.468 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.52e-05/2.722, allocations: 15.91 kB / 1.468 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001016/2.723, allocations: 31.66 kB / 1.468 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008467/2.731, allocations: 0.583 MB / 1.469 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001027/2.731, allocations: 40.09 kB / 1.469 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01317/2.744, allocations: 0.6106 MB / 1.469 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007023/2.745, allocations: 93.28 kB / 1.469 GB, free: 326.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/2.745, allocations: 8.094 kB / 1.469 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01367/2.759, allocations: 2.907 MB / 1.472 GB, free: 325.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.455e-05/2.759, allocations: 16.34 kB / 1.472 GB, free: 325.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.544e-05/2.759, allocations: 28.22 kB / 1.472 GB, free: 325.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00519/2.764, allocations: 0.5773 MB / 1.473 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.435e-05/2.764, allocations: 39.92 kB / 1.473 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007808/2.772, allocations: 0.5325 MB / 1.473 GB, free: 325.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006524/2.773, allocations: 89.47 kB / 1.473 GB, free: 325.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003662/2.777, allocations: 1.128 MB / 1.475 GB, free: 324.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/2.778, allocations: 368 kB / 1.475 GB, free: 324.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/2.789, allocations: 2.613 MB / 1.477 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/2.789, allocations: 12.62 kB / 1.477 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/2.789, allocations: 1.094 kB / 1.477 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009209/2.798, allocations: 2.213 MB / 1.48 GB, free: 321.6 MB / 0.948 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.03031/2.829, allocations: 7.111 MB / 1.487 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/2.829, allocations: 7.906 kB / 1.487 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00362/2.832, allocations: 366.6 kB / 1.487 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/2.833, allocations: 60.38 kB / 1.487 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002166/2.833, allocations: 43.73 kB / 1.487 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/2.834, allocations: 1.448 MB / 1.488 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/2.834, allocations: 15.69 kB / 1.488 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01473/2.849, allocations: 3.878 MB / 1.492 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/2.852, allocations: 0.681 MB / 1.493 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/2.853, allocations: 35 kB / 1.493 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006879/2.86, allocations: 435.6 kB / 1.493 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004689/2.861, allocations: 123.5 kB / 1.493 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/2.861, allocations: 67.89 kB / 1.494 GB, free: 312.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00706/2.868, allocations: 2.522 MB / 1.496 GB, free: 311 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.022e-06/2.868, allocations: 0 / 1.496 GB, free: 311 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008154/2.876, allocations: 2.013 MB / 1.498 GB, free: 309.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01529/2.892, allocations: 4.828 MB / 1.503 GB, free: 304.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01718/2.909, allocations: 4.051 MB / 1.507 GB, free: 300.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.078e-05/2.909, allocations: 4 kB / 1.507 GB, free: 300.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00524/2.914, allocations: 1.206 MB / 1.508 GB, free: 299.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01674/2.931, allocations: 1.926 MB / 1.51 GB, free: 297.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09074/3.022, allocations: 28.54 MB / 1.538 GB, free: 266.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003841/3.026, allocations: 2.657 MB / 1.54 GB, free: 264 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01313/3.039, allocations: 0.9785 MB / 1.541 GB, free: 263 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005252/3.044, allocations: 1.749 MB / 1.543 GB, free: 261.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.463e-06/3.044, allocations: 0 / 1.543 GB, free: 261.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2381/3.282, allocations: 104.2 MB / 1.645 GB, free: 157.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/3.283, allocations: 263.9 kB / 1.645 GB, free: 157.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/10.99, allocations: 0 / 1.645 GB, free: 157.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)