Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01042/0.01043, allocations: 220.3 kB / 15.17 MB, free: 6.012 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001083/0.001083, allocations: 176.2 kB / 16.06 MB, free: 5.875 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.359/3.359, allocations: 389.1 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.102/4.102, allocations: 472.3 MB / 0.9018 GB, free: 13.4 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005296/0.0005298, allocations: 15.98 kB / 1.008 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.521/0.5215, allocations: 98.71 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8875/1.409, allocations: 335.1 MB / 1.431 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.08074/1.49, allocations: 45.22 MB / 1.475 GB, free: 3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006518/1.496, allocations: 143.1 kB / 1.476 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00825/1.505, allocations: 2.096 MB / 1.478 GB, free: 0.75 MB / 0.7448 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02635/1.531, allocations: 7.433 MB / 1.485 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01745/1.549, allocations: 4.758 MB / 1.49 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.02082/1.569, allocations: 13.24 MB / 1.502 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007661/1.577, allocations: 3.975 MB / 1.506 GB, free: 3.281 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01152/1.589, allocations: 4.422 MB / 1.511 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006998/1.596, allocations: 3.388 MB / 1.514 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0009386/1.597, allocations: 172 kB / 1.514 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009066/1.606, allocations: 2.494 MB / 1.517 GB, free: 8.77 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002558/1.608, allocations: 1.327 MB / 1.518 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002021/1.61, allocations: 1.003 MB / 1.519 GB, free: 6.426 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01097/1.621, allocations: 6.274 MB / 1.525 GB, free: 140 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.569e-06/1.622, allocations: 0 / 1.525 GB, free: 140 kB / 0.7917 GB Notification: Performance of FrontEnd: time 2.632e-06/1.622, allocations: 0 / 1.525 GB, free: 140 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.289e-05/1.622, allocations: 0 / 1.525 GB, free: 140 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 858 * Number of variables: 858 Notification: Performance of Generate backend data structure: time 0.0111/1.633, allocations: 4.65 MB / 1.53 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.633, allocations: 8.031 kB / 1.53 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/1.646, allocations: 1.871 MB / 1.531 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009542/1.655, allocations: 3.411 MB / 1.535 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002117/1.657, allocations: 0.697 MB / 1.535 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009932/1.658, allocations: 347.9 kB / 1.536 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/1.67, allocations: 4.618 MB / 1.54 GB, free: 272 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.496e-05/1.67, allocations: 3.938 kB / 1.54 GB, free: 268 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004889/1.671, allocations: 140 kB / 1.54 GB, free: 128 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001872/1.671, allocations: 130.6 kB / 1.54 GB, free: 15.99 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/1.684, allocations: 4.198 MB / 1.545 GB, free: 11.79 MB / 0.823 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.05334/1.737, allocations: 18.79 MB / 1.563 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/1.752, allocations: 2.071 MB / 1.565 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007354/1.759, allocations: 1.085 MB / 1.566 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001847/1.761, allocations: 449.6 kB / 1.566 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009128/1.77, allocations: 1.268 MB / 1.568 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004707/1.775, allocations: 185.9 kB / 1.568 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=135): time 1.024e-05/1.775, allocations: 0 / 1.568 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=135): time 0.0199/1.795, allocations: 3.283 MB / 1.571 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.795, allocations: 149.8 kB / 1.571 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007727/1.803, allocations: 3.654 MB / 1.575 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003734/1.803, allocations: 57.7 kB / 1.575 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002438/1.806, allocations: 2.017 MB / 1.577 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006636/1.806, allocations: 477.1 kB / 1.577 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/1.806, allocations: 40 kB / 1.577 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002599/1.807, allocations: 377.9 kB / 1.578 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003988/1.811, allocations: 1.14 MB / 1.579 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004654/1.815, allocations: 1.826 MB / 1.581 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004297/1.82, allocations: 1.312 MB / 1.582 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.066e-05/1.82, allocations: 7.953 kB / 1.582 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.0102/1.83, allocations: 3.263 MB / 1.585 GB, free: 472 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005609/1.831, allocations: 0.6004 MB / 1.586 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/1.831, allocations: 16 kB / 1.586 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.382e-05/1.831, allocations: 28 kB / 1.586 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003423/1.834, allocations: 0.5812 MB / 1.586 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.005e-05/1.834, allocations: 34.34 kB / 1.586 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005507/1.84, allocations: 0.6098 MB / 1.587 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002972/1.84, allocations: 104 kB / 1.587 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.84, allocations: 11.94 kB / 1.587 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009276/1.849, allocations: 2.89 MB / 1.59 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.284e-05/1.849, allocations: 19.95 kB / 1.59 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.71e-05/1.849, allocations: 28 kB / 1.59 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/1.853, allocations: 0.5796 MB / 1.59 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.622e-05/1.853, allocations: 35.88 kB / 1.59 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004893/1.858, allocations: 0.5354 MB / 1.591 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/1.858, allocations: 91.91 kB / 1.591 GB, free: 10.07 MB / 0.8698 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.002822/1.861, allocations: 1.129 MB / 1.592 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008328/1.862, allocations: 367.3 kB / 1.592 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007981/1.87, allocations: 2.613 MB / 1.595 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.87, allocations: 16 kB / 1.595 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.87, allocations: 0 / 1.595 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006403/1.876, allocations: 2.206 MB / 1.597 GB, free: 3.617 MB / 0.8698 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.01937/1.896, allocations: 7.072 MB / 1.604 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.896, allocations: 11.94 kB / 1.604 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/1.898, allocations: 372.1 kB / 1.604 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002912/1.898, allocations: 56.83 kB / 1.605 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/1.899, allocations: 47.92 kB / 1.605 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/1.9, allocations: 1.44 MB / 1.606 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-05/1.9, allocations: 11.94 kB / 1.606 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/1.912, allocations: 3.873 MB / 1.61 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.914, allocations: 0.6759 MB / 1.61 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005699/1.914, allocations: 38.25 kB / 1.61 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004178/1.918, allocations: 446.6 kB / 1.611 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/1.919, allocations: 116.7 kB / 1.611 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002174/1.919, allocations: 63.95 kB / 1.611 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005506/1.925, allocations: 2.532 MB / 1.614 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.213e-06/1.925, allocations: 0 / 1.614 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005978/1.931, allocations: 1.978 MB / 1.615 GB, free: 360 kB / 0.8855 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.4488/2.379, allocations: 464.1 kB / 1.616 GB, free: 367 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01382/2.393, allocations: 4.048 MB / 1.62 GB, free: 366.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/2.393, allocations: 3.969 kB / 1.62 GB, free: 366.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004209/2.397, allocations: 1.208 MB / 1.621 GB, free: 366.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01155/2.409, allocations: 1.917 MB / 1.623 GB, free: 365.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/2.431, allocations: 9.207 MB / 1.632 GB, free: 361.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003535/2.435, allocations: 2.746 MB / 1.635 GB, free: 360.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006989/2.442, allocations: 0.9788 MB / 1.636 GB, free: 360.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/2.443, allocations: 265.4 kB / 1.636 GB, free: 360.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.615e-06/2.443, allocations: 3.969 kB / 1.636 GB, free: 360.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.1405/2.584, allocations: 68.46 MB / 1.703 GB, free: 299.2 MB / 0.8855 GB