Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.503/1.503, allocations: 288.4 MB / 303.6 MB, free: 8.207 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.0009208/0.0009208, allocations: 168.5 kB / 372.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0006732/0.0006732, allocations: 94.11 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.000436, allocations: 12.59 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1572, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.6287/0.7859, allocations: 347.2 MB / 1.319 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.04852/0.8345, allocations: 43.94 MB / 1.362 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00512/0.8396, allocations: 135.1 kB / 1.362 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.005361/0.845, allocations: 2.055 MB / 1.364 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.01447/0.8595, allocations: 6.192 MB / 1.37 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.007219/0.8667, allocations: 2.848 MB / 1.373 GB, free: 7.887 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01393/0.8807, allocations: 13.21 MB / 1.386 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006872/0.8876, allocations: 4.53 MB / 1.39 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/0.8982, allocations: 5.21 MB / 1.396 GB, free: 0.8008 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006193/0.9044, allocations: 3.282 MB / 1.399 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.9054, allocations: 168 kB / 1.399 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/0.917, allocations: 6.71 MB / 1.405 GB, free: 6.621 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.002228/0.9193, allocations: 1.327 MB / 1.407 GB, free: 5.289 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.005369/0.9247, allocations: 2.268 MB / 1.409 GB, free: 3.004 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.008932/0.9336, allocations: 6.929 MB / 1.416 GB, free: 12.06 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.9336, allocations: 0 / 1.416 GB, free: 12.06 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9337, allocations: 0 / 1.416 GB, free: 12.06 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002211/0.9339, allocations: 8 kB / 1.416 GB, free: 12.05 MB / 0.948 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.008994/0.9429, allocations: 4.704 MB / 1.42 GB, free: 7.258 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.9429, allocations: 8.031 kB / 1.42 GB, free: 7.25 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007961/0.9437, allocations: 471.8 kB / 1.421 GB, free: 6.777 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009122/0.9529, allocations: 1.918 MB / 1.423 GB, free: 4.852 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00597/0.9588, allocations: 3.511 MB / 1.426 GB, free: 1.277 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001529/0.9604, allocations: 0.7009 MB / 1.427 GB, free: 0.5508 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004594/0.9609, allocations: 340 kB / 1.427 GB, free: 224 kB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3177/1.279, allocations: 4.597 MB / 1.432 GB, free: 349.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.217e-05/1.279, allocations: 5.062 kB / 1.432 GB, free: 349.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003073/1.279, allocations: 137.5 kB / 1.432 GB, free: 349 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/1.279, allocations: 139.8 kB / 1.432 GB, free: 349 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00912/1.288, allocations: 4.185 MB / 1.436 GB, free: 347.7 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.0235/1.312, allocations: 18.79 MB / 1.454 GB, free: 335.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003851/1.316, allocations: 2.068 MB / 1.456 GB, free: 334.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002106/1.318, allocations: 1.085 MB / 1.457 GB, free: 334.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/1.318, allocations: 446.4 kB / 1.458 GB, free: 334.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002443/1.321, allocations: 1.278 MB / 1.459 GB, free: 333.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001568/1.322, allocations: 176.3 kB / 1.459 GB, free: 333.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=135): time 3.386e-06/1.322, allocations: 1.312 kB / 1.459 GB, free: 333.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=135): time 0.007285/1.33, allocations: 3.308 MB / 1.462 GB, free: 332.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/1.33, allocations: 153.3 kB / 1.463 GB, free: 332.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004324/1.334, allocations: 3.645 MB / 1.466 GB, free: 330.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/1.334, allocations: 64.69 kB / 1.466 GB, free: 330.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/1.335, allocations: 1.999 MB / 1.468 GB, free: 328.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/1.336, allocations: 471 kB / 1.469 GB, free: 328.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/1.336, allocations: 39.09 kB / 1.469 GB, free: 328.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/1.336, allocations: 379.4 kB / 1.469 GB, free: 328 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002692/1.339, allocations: 1.155 MB / 1.47 GB, free: 327.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002909/1.342, allocations: 1.821 MB / 1.472 GB, free: 326.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004859/1.346, allocations: 2.704 MB / 1.475 GB, free: 324.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.346, allocations: 3.875 kB / 1.475 GB, free: 324.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006793/1.353, allocations: 3.264 MB / 1.478 GB, free: 322.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001811/1.353, allocations: 0.5942 MB / 1.478 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/1.354, allocations: 16.5 kB / 1.478 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/1.354, allocations: 24.75 kB / 1.478 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/1.356, allocations: 0.5842 MB / 1.479 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/1.356, allocations: 36.84 kB / 1.479 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004116/1.36, allocations: 0.6218 MB / 1.48 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/1.36, allocations: 94.97 kB / 1.48 GB, free: 321.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.613e-06/1.36, allocations: 3.969 kB / 1.48 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005535/1.366, allocations: 2.909 MB / 1.483 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/1.366, allocations: 19.59 kB / 1.483 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.366, allocations: 23.34 kB / 1.483 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/1.368, allocations: 0.5741 MB / 1.483 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/1.368, allocations: 35.61 kB / 1.483 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/1.372, allocations: 0.5379 MB / 1.484 GB, free: 319.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/1.372, allocations: 86.59 kB / 1.484 GB, free: 319.8 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.001733/1.373, allocations: 1.128 MB / 1.485 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/1.374, allocations: 372.2 kB / 1.485 GB, free: 318.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/1.378, allocations: 2.61 MB / 1.488 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.378, allocations: 11.88 kB / 1.488 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/1.379, allocations: 11.88 kB / 1.488 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003784/1.382, allocations: 2.211 MB / 1.49 GB, free: 316.1 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.01079/1.393, allocations: 7.106 MB / 1.497 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.393, allocations: 8 kB / 1.497 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/1.395, allocations: 371.6 kB / 1.497 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/1.395, allocations: 52.83 kB / 1.497 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-05/1.395, allocations: 43.98 kB / 1.497 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007601/1.396, allocations: 1.448 MB / 1.499 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.396, allocations: 17.56 kB / 1.499 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006138/1.402, allocations: 3.873 MB / 1.503 GB, free: 304.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/1.403, allocations: 0.676 MB / 1.503 GB, free: 303.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003383/1.403, allocations: 39.92 kB / 1.503 GB, free: 303.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/1.406, allocations: 440.5 kB / 1.504 GB, free: 303.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.406, allocations: 120.6 kB / 1.504 GB, free: 303.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.406, allocations: 71.95 kB / 1.504 GB, free: 303 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002833/1.409, allocations: 2.521 MB / 1.506 GB, free: 300.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.409, allocations: 0 / 1.506 GB, free: 300.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003346/1.413, allocations: 2.005 MB / 1.508 GB, free: 298.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.006907/1.419, allocations: 4.83 MB / 1.513 GB, free: 293.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007401/1.427, allocations: 4.051 MB / 1.517 GB, free: 289.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.427, allocations: 4 kB / 1.517 GB, free: 289.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002151/1.429, allocations: 1.206 MB / 1.518 GB, free: 288.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01173/1.441, allocations: 2.023 MB / 1.52 GB, free: 286.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04396/1.485, allocations: 28.54 MB / 1.548 GB, free: 255.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/1.487, allocations: 2.663 MB / 1.551 GB, free: 252.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003937/1.491, allocations: 0.9713 MB / 1.552 GB, free: 251.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/1.493, allocations: 1.78 MB / 1.553 GB, free: 250.1 MB / 0.948 GB Notification: Performance of SimCode: time 6.61e-07/1.493, allocations: 0 / 1.553 GB, free: 250.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8293/2.322, allocations: 113.8 MB / 1.664 GB, free: 137 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/2.322, allocations: 265.2 kB / 1.665 GB, free: 136.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.3/7.622, allocations: 0 / 1.665 GB, free: 136.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)