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.727/1.727, allocations: 288.4 MB / 303.3 MB, free: 8.121 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.0009704/0.0009703, allocations: 176.5 kB / 372 MB, free: 10.32 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.817/1.817, allocations: 205.4 MB / 0.6307 GB, free: 10.05 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.0007816/0.0007817, allocations: 98.23 kB / 0.7441 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004248, allocations: 12.12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2426, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.048/1.291, allocations: 347.2 MB / 1.319 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0746/1.365, allocations: 43.93 MB / 1.362 GB, free: 3.367 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01135/1.377, allocations: 135.1 kB / 1.362 GB, free: 3.234 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.009575/1.386, allocations: 1.793 MB / 1.363 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.02295/1.409, allocations: 5.261 MB / 1.369 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.01183/1.421, allocations: 2.793 MB / 1.371 GB, free: 9.387 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.02679/1.448, allocations: 13.03 MB / 1.384 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/1.461, allocations: 3.936 MB / 1.388 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01614/1.477, allocations: 4.855 MB / 1.393 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008894/1.486, allocations: 3.275 MB / 1.396 GB, free: 172 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001931/1.488, allocations: 172 kB / 1.396 GB, free: 0 / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01371/1.501, allocations: 3.348 MB / 1.399 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.003469/1.505, allocations: 1.335 MB / 1.401 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.003936/1.509, allocations: 0.9992 MB / 1.402 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01444/1.523, allocations: 6.613 MB / 1.408 GB, free: 3.668 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.523, allocations: 0 / 1.408 GB, free: 3.668 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.28e-06/1.523, allocations: 3.984 kB / 1.408 GB, free: 3.664 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003464/1.524, allocations: 0 / 1.408 GB, free: 3.664 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.0148/1.539, allocations: 4.743 MB / 1.413 GB, free: 14.83 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.038e-05/1.539, allocations: 12.03 kB / 1.413 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002049/1.541, allocations: 475.9 kB / 1.413 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/1.553, allocations: 1.91 MB / 1.415 GB, free: 12.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009915/1.563, allocations: 3.389 MB / 1.418 GB, free: 8.973 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001897/1.565, allocations: 0.6892 MB / 1.419 GB, free: 8.258 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/1.566, allocations: 347.9 kB / 1.419 GB, free: 7.918 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/1.578, allocations: 4.609 MB / 1.424 GB, free: 3.215 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-05/1.578, allocations: 7.922 kB / 1.424 GB, free: 3.207 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005822/1.579, allocations: 144 kB / 1.424 GB, free: 3.066 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001995/1.579, allocations: 130.5 kB / 1.424 GB, free: 2.938 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.608/2.187, allocations: 4.184 MB / 1.428 GB, free: 349.5 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.04454/2.232, allocations: 18.78 MB / 1.446 GB, free: 337.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007338/2.239, allocations: 2.07 MB / 1.449 GB, free: 336.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003473/2.243, allocations: 1.085 MB / 1.45 GB, free: 336.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008437/2.243, allocations: 446 kB / 1.45 GB, free: 336.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003858/2.247, allocations: 1.279 MB / 1.451 GB, free: 335.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003103/2.251, allocations: 176 kB / 1.451 GB, free: 335.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=135): time 1.381e-05/2.251, allocations: 1.344 kB / 1.451 GB, free: 335.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=135): time 0.01253/2.263, allocations: 3.31 MB / 1.455 GB, free: 334.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/2.263, allocations: 149 kB / 1.455 GB, free: 334.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009431/2.273, allocations: 3.647 MB / 1.458 GB, free: 333.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005938/2.273, allocations: 61.33 kB / 1.458 GB, free: 333 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001991/2.275, allocations: 2.002 MB / 1.46 GB, free: 331.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007115/2.276, allocations: 471 kB / 1.461 GB, free: 331.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/2.276, allocations: 35.69 kB / 1.461 GB, free: 331.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001679/2.276, allocations: 381.1 kB / 1.461 GB, free: 330.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003163/2.28, allocations: 1.147 MB / 1.462 GB, free: 330.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003779/2.283, allocations: 1.83 MB / 1.464 GB, free: 329.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/2.287, allocations: 1.317 MB / 1.465 GB, free: 328.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/2.287, allocations: 4.938 kB / 1.465 GB, free: 328.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00875/2.295, allocations: 3.263 MB / 1.469 GB, free: 327.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000388/2.296, allocations: 0.5983 MB / 1.469 GB, free: 326.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/2.296, allocations: 16.41 kB / 1.469 GB, free: 326.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.192e-05/2.296, allocations: 27.78 kB / 1.469 GB, free: 326.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/2.299, allocations: 0.5786 MB / 1.47 GB, free: 326.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.536e-05/2.299, allocations: 38.02 kB / 1.47 GB, free: 326.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006117/2.305, allocations: 0.6142 MB / 1.47 GB, free: 326 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000372/2.305, allocations: 97.95 kB / 1.471 GB, free: 325.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/2.306, allocations: 3.156 kB / 1.471 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007658/2.313, allocations: 2.908 MB / 1.473 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.734e-05/2.313, allocations: 15.31 kB / 1.473 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/2.313, allocations: 32.75 kB / 1.473 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/2.316, allocations: 0.5768 MB / 1.474 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.447e-05/2.316, allocations: 33.14 kB / 1.474 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006056/2.322, allocations: 0.5357 MB / 1.475 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002826/2.323, allocations: 88.95 kB / 1.475 GB, free: 324.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.003059/2.326, allocations: 1.122 MB / 1.476 GB, free: 323.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/2.327, allocations: 375 kB / 1.476 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006238/2.333, allocations: 2.611 MB / 1.479 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/2.333, allocations: 13.75 kB / 1.479 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/2.333, allocations: 5.094 kB / 1.479 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004312/2.338, allocations: 2.21 MB / 1.481 GB, free: 320.5 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.01512/2.353, allocations: 7.111 MB / 1.488 GB, free: 315.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/2.353, allocations: 7.906 kB / 1.488 GB, free: 315.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/2.355, allocations: 370.8 kB / 1.488 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/2.355, allocations: 60.22 kB / 1.488 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/2.355, allocations: 43.8 kB / 1.488 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009594/2.356, allocations: 1.439 MB / 1.49 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/2.356, allocations: 17.3 kB / 1.49 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00811/2.364, allocations: 3.883 MB / 1.493 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/2.366, allocations: 0.6764 MB / 1.494 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007122/2.367, allocations: 42.27 kB / 1.494 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003859/2.371, allocations: 430.6 kB / 1.495 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/2.371, allocations: 123 kB / 1.495 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/2.371, allocations: 69.58 kB / 1.495 GB, free: 311.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004957/2.376, allocations: 2.523 MB / 1.497 GB, free: 309.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.21e-07/2.376, allocations: 0 / 1.497 GB, free: 309.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00746/2.384, allocations: 2.01 MB / 1.499 GB, free: 307.7 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.00958/2.393, allocations: 4.823 MB / 1.504 GB, free: 302.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009538/2.403, allocations: 4.05 MB / 1.508 GB, free: 298.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.361e-05/2.403, allocations: 4.875 kB / 1.508 GB, free: 298.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003044/2.406, allocations: 1.211 MB / 1.509 GB, free: 297.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0106/2.417, allocations: 1.919 MB / 1.511 GB, free: 295.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06308/2.48, allocations: 28.54 MB / 1.539 GB, free: 264.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002641/2.483, allocations: 2.657 MB / 1.541 GB, free: 262.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005141/2.488, allocations: 0.9787 MB / 1.542 GB, free: 261.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002466/2.49, allocations: 1.749 MB / 1.544 GB, free: 259.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.733e-06/2.49, allocations: 0 / 1.544 GB, free: 259.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1627/2.653, allocations: 104.2 MB / 1.646 GB, free: 156 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/2.653, allocations: 270.6 kB / 1.646 GB, free: 155.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.003/8.657, allocations: 0 / 1.646 GB, free: 155.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)