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: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.809/1.809, allocations: 288.4 MB / 303.4 MB, free: 8.152 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.001042/0.001042, allocations: 182.9 kB / 372 MB, free: 10.2 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.717/1.717, allocations: 205.4 MB / 0.6307 GB, free: 9.934 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.0008754/0.0008756, allocations: 100.6 kB / 0.7441 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004436, allocations: 11.28 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2625, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.9866/1.249, allocations: 347.2 MB / 1.319 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.06301/1.312, allocations: 43.93 MB / 1.362 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008205/1.32, allocations: 139.1 kB / 1.362 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.008328/1.329, allocations: 1.785 MB / 1.363 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0208/1.35, allocations: 5.276 MB / 1.369 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0104/1.36, allocations: 2.779 MB / 1.371 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01805/1.378, allocations: 13.04 MB / 1.384 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007053/1.385, allocations: 3.945 MB / 1.388 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01338/1.399, allocations: 4.843 MB / 1.393 GB, free: 3.434 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007017/1.406, allocations: 3.275 MB / 1.396 GB, free: 148 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001076/1.407, allocations: 172 kB / 1.396 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/1.419, allocations: 3.352 MB / 1.399 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.003571/1.422, allocations: 1.327 MB / 1.401 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.004085/1.427, allocations: 1.007 MB / 1.401 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01433/1.441, allocations: 6.613 MB / 1.408 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/1.441, allocations: 0 / 1.408 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.611e-06/1.441, allocations: 0 / 1.408 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003185/1.441, allocations: 0 / 1.408 GB, free: 3.641 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.01298/1.454, allocations: 4.76 MB / 1.413 GB, free: 14.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.454, allocations: 8.031 kB / 1.413 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/1.466, allocations: 1.906 MB / 1.414 GB, free: 12.87 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/1.476, allocations: 3.386 MB / 1.418 GB, free: 9.422 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002012/1.479, allocations: 0.6931 MB / 1.418 GB, free: 8.703 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/1.48, allocations: 344 kB / 1.419 GB, free: 8.367 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/1.496, allocations: 4.609 MB / 1.423 GB, free: 3.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/1.496, allocations: 0 / 1.423 GB, free: 3.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/1.497, allocations: 140 kB / 1.423 GB, free: 3.523 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001839/1.498, allocations: 138.5 kB / 1.424 GB, free: 3.387 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5637/2.061, allocations: 4.188 MB / 1.428 GB, free: 349.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 preOpt removeSimpleEquations (simulation): time 0.04088/2.102, allocations: 18.78 MB / 1.446 GB, free: 337.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005489/2.108, allocations: 2.074 MB / 1.448 GB, free: 337 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/2.111, allocations: 1.085 MB / 1.449 GB, free: 336.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008137/2.112, allocations: 450.4 kB / 1.449 GB, free: 336.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003295/2.115, allocations: 1.28 MB / 1.451 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002939/2.118, allocations: 177.3 kB / 1.451 GB, free: 335.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=135): time 7.574e-06/2.118, allocations: 0 / 1.451 GB, free: 335.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=135): time 0.01042/2.128, allocations: 3.308 MB / 1.454 GB, free: 334.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/2.128, allocations: 146.2 kB / 1.454 GB, free: 334.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007644/2.136, allocations: 3.648 MB / 1.458 GB, free: 333.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000652/2.137, allocations: 61.92 kB / 1.458 GB, free: 333.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001982/2.139, allocations: 2.001 MB / 1.46 GB, free: 331.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007004/2.139, allocations: 476.2 kB / 1.46 GB, free: 331.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/2.14, allocations: 35.03 kB / 1.46 GB, free: 331.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001473/2.14, allocations: 381.5 kB / 1.461 GB, free: 330.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003307/2.143, allocations: 1.147 MB / 1.462 GB, free: 330.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003572/2.147, allocations: 1.83 MB / 1.464 GB, free: 329.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/2.15, allocations: 1.31 MB / 1.465 GB, free: 329 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-05/2.15, allocations: 4.5 kB / 1.465 GB, free: 329 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009024/2.159, allocations: 3.267 MB / 1.468 GB, free: 327.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000613/2.16, allocations: 0.5963 MB / 1.469 GB, free: 326.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-05/2.16, allocations: 15.94 kB / 1.469 GB, free: 326.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.671e-05/2.16, allocations: 27.41 kB / 1.469 GB, free: 326.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003234/2.163, allocations: 0.5824 MB / 1.469 GB, free: 326.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.785e-05/2.163, allocations: 37.89 kB / 1.469 GB, free: 326.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006026/2.169, allocations: 0.6133 MB / 1.47 GB, free: 326.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/2.17, allocations: 97.08 kB / 1.47 GB, free: 326.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/2.17, allocations: 9.453 kB / 1.47 GB, free: 326.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007861/2.178, allocations: 2.911 MB / 1.473 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-05/2.178, allocations: 15.44 kB / 1.473 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.741e-05/2.178, allocations: 27.81 kB / 1.473 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/2.181, allocations: 0.5777 MB / 1.473 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.247e-05/2.181, allocations: 37.27 kB / 1.473 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005632/2.186, allocations: 0.5329 MB / 1.474 GB, free: 324.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004269/2.187, allocations: 89.06 kB / 1.474 GB, free: 324.4 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.003253/2.19, allocations: 1.126 MB / 1.475 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/2.191, allocations: 367.5 kB / 1.476 GB, free: 323.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006639/2.198, allocations: 2.616 MB / 1.478 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/2.198, allocations: 13.69 kB / 1.478 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/2.198, allocations: 1.312 kB / 1.478 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004602/2.203, allocations: 2.212 MB / 1.48 GB, free: 320.8 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.01533/2.218, allocations: 7.106 MB / 1.487 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/2.218, allocations: 11.92 kB / 1.487 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/2.22, allocations: 367.8 kB / 1.488 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/2.22, allocations: 60.38 kB / 1.488 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/2.22, allocations: 47.56 kB / 1.488 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/2.221, allocations: 1.436 MB / 1.489 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/2.221, allocations: 15.69 kB / 1.489 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008324/2.23, allocations: 3.887 MB / 1.493 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002207/2.232, allocations: 0.682 MB / 1.494 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005271/2.232, allocations: 37.81 kB / 1.494 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/2.236, allocations: 432.4 kB / 1.494 GB, free: 311.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/2.236, allocations: 122.1 kB / 1.494 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/2.236, allocations: 63.62 kB / 1.494 GB, free: 311.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004361/2.241, allocations: 2.526 MB / 1.497 GB, free: 310.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/2.241, allocations: 0 / 1.497 GB, free: 310.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006419/2.247, allocations: 2.01 MB / 1.499 GB, free: 308.1 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.001309/2.248, allocations: 0.4933 MB / 1.499 GB, free: 307.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01633/2.265, allocations: 4.046 MB / 1.503 GB, free: 303.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.838e-05/2.265, allocations: 0 / 1.503 GB, free: 303.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004726/2.27, allocations: 1.214 MB / 1.504 GB, free: 302.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01861/2.288, allocations: 1.928 MB / 1.506 GB, free: 300.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/2.318, allocations: 9.211 MB / 1.515 GB, free: 291.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00461/2.322, allocations: 2.659 MB / 1.518 GB, free: 288.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009903/2.332, allocations: 0.9753 MB / 1.519 GB, free: 287.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/2.334, allocations: 263.4 kB / 1.519 GB, free: 287.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.874e-06/2.334, allocations: 0 / 1.519 GB, free: 287.3 MB / 0.948 GB Notification: Performance of Templates: time 0.1079/2.442, allocations: 68.86 MB / 1.586 GB, free: 219.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)