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.718/2.718, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001547/0.001547, allocations: 186.9 kB / 370.8 MB, free: 10.85 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.147/2.147, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001186/0.001186, allocations: 97.31 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004911, allocations: 20.05 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2321, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.165/1.398, allocations: 305.6 MB / 1.277 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0948/1.492, allocations: 41.99 MB / 1.318 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007183/1.5, allocations: 135.1 kB / 1.318 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01204/1.512, allocations: 2.368 MB / 1.32 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0308/1.543, allocations: 6.826 MB / 1.327 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02094/1.564, allocations: 4.592 MB / 1.331 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01867/1.582, allocations: 6.679 MB / 1.338 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/1.593, allocations: 4.004 MB / 1.342 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01974/1.612, allocations: 4.252 MB / 1.346 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009063/1.622, allocations: 2.233 MB / 1.348 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001517/1.623, allocations: 168 kB / 1.348 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/1.636, allocations: 2.913 MB / 1.351 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.003139/1.639, allocations: 1.211 MB / 1.352 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002974/1.642, allocations: 1.007 MB / 1.353 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01402/1.656, allocations: 6.289 MB / 1.359 GB, free: 2.863 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.656, allocations: 0 / 1.359 GB, free: 2.863 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.687e-06/1.656, allocations: 0 / 1.359 GB, free: 2.863 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002829/1.656, allocations: 0 / 1.359 GB, free: 2.863 MB / 0.8855 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.01593/1.672, allocations: 4.665 MB / 1.364 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/1.672, allocations: 8.031 kB / 1.364 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001765/1.674, allocations: 475.9 kB / 1.364 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01836/1.692, allocations: 1.925 MB / 1.366 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/1.705, allocations: 3.438 MB / 1.37 GB, free: 8.191 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003461/1.709, allocations: 0.697 MB / 1.37 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/1.71, allocations: 348 kB / 1.371 GB, free: 7.129 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/1.727, allocations: 4.554 MB / 1.375 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/1.727, allocations: 4 kB / 1.375 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006108/1.728, allocations: 144 kB / 1.375 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002212/1.728, allocations: 134.5 kB / 1.375 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/1.746, allocations: 4.167 MB / 1.379 GB, free: 14.02 MB / 0.9167 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.04845/1.795, allocations: 18.84 MB / 1.398 GB, free: 9.805 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008724/1.804, allocations: 2.036 MB / 1.4 GB, free: 7.727 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008121/1.805, allocations: 174.3 kB / 1.4 GB, free: 7.539 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005465/1.81, allocations: 1.251 MB / 1.401 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002806/1.813, allocations: 181.9 kB / 1.401 GB, free: 6.078 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=135): time 1.028e-05/1.813, allocations: 0 / 1.401 GB, free: 6.078 MB / 0.9323 GB Notification: Performance of matching and sorting (n=135): time 0.01674/1.83, allocations: 3.286 MB / 1.405 GB, free: 2.758 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/1.83, allocations: 226.6 kB / 1.405 GB, free: 2.488 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.84, allocations: 3.622 MB / 1.408 GB, free: 14.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005299/1.841, allocations: 69.69 kB / 1.408 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00292/1.844, allocations: 2.009 MB / 1.41 GB, free: 12.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009837/1.845, allocations: 473.2 kB / 1.411 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/1.845, allocations: 36 kB / 1.411 GB, free: 12.24 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002523/1.845, allocations: 377.9 kB / 1.411 GB, free: 11.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005979/1.851, allocations: 1.14 MB / 1.412 GB, free: 10.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007057/1.858, allocations: 1.819 MB / 1.414 GB, free: 8.605 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006461/1.865, allocations: 1.296 MB / 1.415 GB, free: 7.305 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.277e-05/1.865, allocations: 4 kB / 1.415 GB, free: 7.301 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01541/1.88, allocations: 3.244 MB / 1.419 GB, free: 4.039 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003386/1.884, allocations: 7.364 MB / 1.426 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-05/1.884, allocations: 16 kB / 1.426 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.402e-05/1.884, allocations: 36 kB / 1.426 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0057/1.89, allocations: 0.5773 MB / 1.426 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.808e-05/1.89, allocations: 39.86 kB / 1.426 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008586/1.898, allocations: 0.6266 MB / 1.427 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005857/1.899, allocations: 95.91 kB / 1.427 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.899, allocations: 4 kB / 1.427 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01399/1.913, allocations: 2.891 MB / 1.43 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.2e-05/1.913, allocations: 24.09 kB / 1.43 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.117e-05/1.913, allocations: 31.98 kB / 1.43 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00547/1.919, allocations: 0.5773 MB / 1.431 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.367e-05/1.919, allocations: 35.86 kB / 1.431 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007785/1.927, allocations: 0.5356 MB / 1.431 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005929/1.927, allocations: 91.97 kB / 1.431 GB, free: 6.676 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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.003611/1.931, allocations: 1.128 MB / 1.432 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.932, allocations: 363.4 kB / 1.433 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.944, allocations: 2.496 MB / 1.435 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-05/1.944, allocations: 16 kB / 1.435 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.944, allocations: 3.984 kB / 1.435 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008314/1.952, allocations: 1.929 MB / 1.437 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6716/2.624, allocations: 7.813 MB / 1.445 GB, free: 358.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.789e-05/2.624, allocations: 13.95 kB / 1.445 GB, free: 358.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00406/2.628, allocations: 379.9 kB / 1.445 GB, free: 358.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004131/2.628, allocations: 62.95 kB / 1.445 GB, free: 358.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004013/2.629, allocations: 50.03 kB / 1.445 GB, free: 358.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/2.63, allocations: 1.457 MB / 1.447 GB, free: 356.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.266e-05/2.631, allocations: 16.59 kB / 1.447 GB, free: 356.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/2.648, allocations: 5.323 MB / 1.452 GB, free: 353.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003046/2.651, allocations: 0.691 MB / 1.452 GB, free: 353.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/2.652, allocations: 39.23 kB / 1.452 GB, free: 353.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007356/2.659, allocations: 440.9 kB / 1.453 GB, free: 353.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006941/2.66, allocations: 130.2 kB / 1.453 GB, free: 353 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003925/2.661, allocations: 68.64 kB / 1.453 GB, free: 353 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00904/2.67, allocations: 2.511 MB / 1.456 GB, free: 352.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.91e-07/2.67, allocations: 0 / 1.456 GB, free: 352.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01047/2.68, allocations: 2.001 MB / 1.457 GB, free: 351.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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.02078/2.701, allocations: 8.884 MB / 1.466 GB, free: 345.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01911/2.72, allocations: 4.022 MB / 1.47 GB, free: 344.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-05/2.72, allocations: 2.625 kB / 1.47 GB, free: 344.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.005741/2.726, allocations: 1.221 MB / 1.471 GB, free: 343.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01687/2.743, allocations: 1.913 MB / 1.473 GB, free: 343.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04156/2.785, allocations: 22.5 MB / 1.495 GB, free: 325.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005469/2.79, allocations: 2.735 MB / 1.498 GB, free: 324.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.008995/2.799, allocations: 0.9983 MB / 1.499 GB, free: 324.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004697/2.804, allocations: 1.751 MB / 1.5 GB, free: 323.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.493e-06/2.804, allocations: 0 / 1.5 GB, free: 323.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2408/3.045, allocations: 101.4 MB / 1.599 GB, free: 231.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/3.045, allocations: 277.3 kB / 1.6 GB, free: 231.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/10.53, allocations: 0 / 1.6 GB, free: 231.5 MB / 0.9636 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)