Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.529/2.529, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001603, allocations: 174.5 kB / 325.6 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.707/2.707, allocations: 205.4 MB / 0.5766 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 96.23 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004838, allocations: 11.81 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2317, allocations: 106.3 MB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.196/1.428, allocations: 306.4 MB / 1.198 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.09815/1.526, allocations: 42.27 MB / 1.239 GB, free: 3.75 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007855/1.534, allocations: 139 kB / 1.239 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01211/1.546, allocations: 2.38 MB / 1.242 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.03247/1.579, allocations: 6.927 MB / 1.249 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.02211/1.601, allocations: 4.695 MB / 1.253 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0201/1.621, allocations: 6.713 MB / 1.26 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/1.632, allocations: 4.008 MB / 1.264 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01481/1.646, allocations: 4.15 MB / 1.268 GB, free: 6.68 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007498/1.654, allocations: 2.377 MB / 1.27 GB, free: 4.293 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001552/1.656, allocations: 168 kB / 1.27 GB, free: 4.129 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01194/1.668, allocations: 2.738 MB / 1.273 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003084/1.671, allocations: 1.223 MB / 1.274 GB, free: 164 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002858/1.674, allocations: 0.9992 MB / 1.275 GB, free: 15.15 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.01378/1.687, allocations: 6.234 MB / 1.281 GB, free: 8.902 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/1.687, allocations: 4 kB / 1.281 GB, free: 8.898 MB / 0.8074 GB Notification: Performance of FrontEnd: time 3.347e-06/1.688, allocations: 0 / 1.281 GB, free: 8.898 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 0.0002786/1.688, allocations: 0 / 1.281 GB, free: 8.898 MB / 0.8074 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.02001/1.708, allocations: 4.65 MB / 1.286 GB, free: 4.16 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/1.708, allocations: 8.031 kB / 1.286 GB, free: 4.152 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0246/1.733, allocations: 1.875 MB / 1.287 GB, free: 2.27 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01618/1.749, allocations: 3.437 MB / 1.291 GB, free: 14.77 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00459/1.753, allocations: 0.697 MB / 1.292 GB, free: 14.05 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/1.755, allocations: 351.9 kB / 1.292 GB, free: 13.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/1.776, allocations: 4.555 MB / 1.296 GB, free: 9.051 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/1.777, allocations: 7.938 kB / 1.296 GB, free: 9.043 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006499/1.777, allocations: 144 kB / 1.296 GB, free: 8.902 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002371/1.777, allocations: 138.5 kB / 1.297 GB, free: 8.766 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/1.796, allocations: 4.171 MB / 1.301 GB, free: 4.586 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.05063/1.847, allocations: 18.85 MB / 1.319 GB, free: 380 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008998/1.856, allocations: 2.024 MB / 1.321 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008419/1.857, allocations: 178.3 kB / 1.321 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00566/1.863, allocations: 1.263 MB / 1.322 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002725/1.865, allocations: 182 kB / 1.323 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=135): time 1.197e-05/1.866, allocations: 0 / 1.323 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of matching and sorting (n=135): time 0.01705/1.883, allocations: 3.251 MB / 1.326 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/1.883, allocations: 234.6 kB / 1.326 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/1.895, allocations: 3.623 MB / 1.33 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007308/1.896, allocations: 57.7 kB / 1.33 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005074/1.901, allocations: 2.013 MB / 1.332 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001688/1.903, allocations: 465.3 kB / 1.332 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006576/1.903, allocations: 39.98 kB / 1.332 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004446/1.904, allocations: 373.9 kB / 1.332 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007899/1.912, allocations: 1.14 MB / 1.334 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007145/1.919, allocations: 1.819 MB / 1.335 GB, free: 15.21 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006566/1.925, allocations: 1.296 MB / 1.337 GB, free: 13.9 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-05/1.926, allocations: 4 kB / 1.337 GB, free: 13.9 MB / 0.8699 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01587/1.941, allocations: 3.247 MB / 1.34 GB, free: 10.63 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 0.003104/1.945, allocations: 7.352 MB / 1.347 GB, free: 2.859 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.888e-05/1.945, allocations: 19.94 kB / 1.347 GB, free: 2.84 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.379e-05/1.945, allocations: 32.03 kB / 1.347 GB, free: 2.809 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005712/1.951, allocations: 0.5929 MB / 1.348 GB, free: 2.215 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.59e-05/1.951, allocations: 31.92 kB / 1.348 GB, free: 2.184 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008553/1.959, allocations: 0.6176 MB / 1.348 GB, free: 1.566 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005972/1.96, allocations: 95.95 kB / 1.348 GB, free: 1.473 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.96, allocations: 7.953 kB / 1.348 GB, free: 1.465 MB / 0.8699 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01454/1.974, allocations: 2.894 MB / 1.351 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.445e-05/1.975, allocations: 16 kB / 1.351 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.182e-05/1.975, allocations: 28 kB / 1.351 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005604/1.98, allocations: 0.574 MB / 1.352 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.904e-05/1.98, allocations: 31.92 kB / 1.352 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00787/1.988, allocations: 0.5338 MB / 1.352 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006068/1.989, allocations: 107.8 kB / 1.352 GB, free: 13.27 MB / 0.8855 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.003543/1.992, allocations: 1.123 MB / 1.353 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/1.994, allocations: 379.2 kB / 1.354 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/2.005, allocations: 2.484 MB / 1.356 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/2.006, allocations: 12 kB / 1.356 GB, free: 9.238 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/2.006, allocations: 4 kB / 1.356 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008658/2.014, allocations: 1.922 MB / 1.358 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02989/2.044, allocations: 7.812 MB / 1.366 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-05/2.044, allocations: 8 kB / 1.366 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004057/2.048, allocations: 376.3 kB / 1.366 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000416/2.049, allocations: 64.81 kB / 1.366 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003805/2.049, allocations: 47.98 kB / 1.366 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/2.051, allocations: 1.456 MB / 1.368 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.217e-05/2.051, allocations: 19.88 kB / 1.368 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/2.069, allocations: 5.322 MB / 1.373 GB, free: 7.039 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0031/2.072, allocations: 0.6875 MB / 1.374 GB, free: 6.328 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/2.074, allocations: 39.98 kB / 1.374 GB, free: 6.289 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007275/2.081, allocations: 447.4 kB / 1.374 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006007/2.082, allocations: 124.3 kB / 1.374 GB, free: 5.73 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003393/2.082, allocations: 67.95 kB / 1.374 GB, free: 5.664 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00843/2.09, allocations: 2.517 MB / 1.377 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.41e-07/2.091, allocations: 96 / 1.377 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00931/2.1, allocations: 1.974 MB / 1.379 GB, free: 1.16 MB / 0.9011 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.001809/2.102, allocations: 490.4 kB / 1.379 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0192/2.121, allocations: 4.017 MB / 1.383 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/2.121, allocations: 4.062 kB / 1.383 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005724/2.127, allocations: 1.215 MB / 1.384 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01687/2.144, allocations: 1.915 MB / 1.386 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0317/2.175, allocations: 9.287 MB / 1.395 GB, free: 52 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005295/2.181, allocations: 2.743 MB / 1.398 GB, free: 13.28 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.008411/2.189, allocations: 0.9869 MB / 1.399 GB, free: 12.29 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/2.191, allocations: 267.3 kB / 1.399 GB, free: 12.03 MB / 0.9324 GB Notification: Performance of SimCode: time 1.573e-06/2.191, allocations: 0 / 1.399 GB, free: 12.03 MB / 0.9324 GB Notification: Performance of Templates: time 0.831/3.022, allocations: 67.85 MB / 1.465 GB, free: 344.2 MB / 0.9324 GB