Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 188.6 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 90.86 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003653, allocations: 9.062 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.226, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.421/1.647, allocations: 348 MB / 1.241 GB, free: 6.398 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.09172/1.738, allocations: 44.23 MB / 1.284 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01086/1.749, allocations: 139.1 kB / 1.284 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.009865/1.759, allocations: 1.789 MB / 1.286 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.02534/1.785, allocations: 5.49 MB / 1.291 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01312/1.798, allocations: 2.795 MB / 1.294 GB, free: 15.87 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.02465/1.823, allocations: 13.11 MB / 1.307 GB, free: 2.715 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01278/1.835, allocations: 3.945 MB / 1.31 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01717/1.853, allocations: 4.672 MB / 1.315 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/1.863, allocations: 3.404 MB / 1.318 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.002538/1.866, allocations: 176 kB / 1.319 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01581/1.881, allocations: 3.336 MB / 1.322 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00504/1.887, allocations: 1.339 MB / 1.323 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.004496/1.891, allocations: 1.011 MB / 1.324 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0158/1.907, allocations: 6.636 MB / 1.331 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/1.907, allocations: 0 / 1.331 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.857e-06/1.907, allocations: 4 kB / 1.331 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003324/1.907, allocations: 0 / 1.331 GB, free: 10.07 MB / 0.8542 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.01556/1.923, allocations: 4.759 MB / 1.335 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/1.923, allocations: 16.02 kB / 1.335 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/1.935, allocations: 1.863 MB / 1.337 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/1.946, allocations: 3.38 MB / 1.34 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002021/1.948, allocations: 0.697 MB / 1.341 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/1.95, allocations: 351.8 kB / 1.341 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/1.963, allocations: 4.615 MB / 1.346 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.881e-05/1.963, allocations: 0 / 1.346 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004762/1.964, allocations: 140 kB / 1.346 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/1.964, allocations: 134.5 kB / 1.346 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01327/1.977, allocations: 4.191 MB / 1.35 GB, free: 5.648 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 preOpt removeSimpleEquations (simulation): time 0.04712/2.024, allocations: 18.78 MB / 1.369 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006147/2.03, allocations: 2.068 MB / 1.371 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003232/2.034, allocations: 1.081 MB / 1.372 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/2.035, allocations: 453.6 kB / 1.372 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003802/2.039, allocations: 1.268 MB / 1.373 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002945/2.042, allocations: 170 kB / 1.373 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=135): time 1.467e-05/2.042, allocations: 0 / 1.373 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of matching and sorting (n=135): time 0.01069/2.052, allocations: 3.291 MB / 1.377 GB, free: 9.043 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/2.053, allocations: 141.8 kB / 1.377 GB, free: 8.871 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007946/2.061, allocations: 3.654 MB / 1.38 GB, free: 5.191 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0006925/2.061, allocations: 61.81 kB / 1.38 GB, free: 5.125 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002445/2.064, allocations: 2.017 MB / 1.382 GB, free: 3.094 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008804/2.065, allocations: 469.3 kB / 1.383 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/2.065, allocations: 36 kB / 1.383 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002286/2.065, allocations: 377.9 kB / 1.383 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/2.069, allocations: 1.144 MB / 1.384 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/2.073, allocations: 1.826 MB / 1.386 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003724/2.077, allocations: 1.316 MB / 1.387 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.478e-05/2.077, allocations: 7.953 kB / 1.387 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009022/2.086, allocations: 3.263 MB / 1.391 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005778/2.086, allocations: 0.5957 MB / 1.391 GB, free: 9.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/2.086, allocations: 16 kB / 1.391 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.993e-05/2.086, allocations: 28 kB / 1.391 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/2.089, allocations: 0.5734 MB / 1.392 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.021e-05/2.089, allocations: 39.86 kB / 1.392 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005899/2.095, allocations: 0.6253 MB / 1.392 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004324/2.096, allocations: 95.95 kB / 1.393 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/2.096, allocations: 4 kB / 1.393 GB, free: 8.141 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008373/2.104, allocations: 2.914 MB / 1.395 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.114e-05/2.104, allocations: 19.95 kB / 1.395 GB, free: 5.203 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/2.104, allocations: 28 kB / 1.395 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/2.107, allocations: 0.5697 MB / 1.396 GB, free: 4.605 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.922e-05/2.107, allocations: 35.91 kB / 1.396 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005284/2.113, allocations: 0.544 MB / 1.397 GB, free: 4.023 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/2.113, allocations: 91.97 kB / 1.397 GB, free: 3.934 MB / 0.9167 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.003206/2.116, allocations: 1.126 MB / 1.398 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/2.117, allocations: 367.3 kB / 1.398 GB, free: 2.434 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5603/2.678, allocations: 2.596 MB / 1.401 GB, free: 357.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/2.678, allocations: 14.41 kB / 1.401 GB, free: 357.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/2.678, allocations: 2.438 kB / 1.401 GB, free: 357.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004951/2.683, allocations: 2.212 MB / 1.403 GB, free: 357 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 postOpt removeSimpleEquations (simulation): time 0.0164/2.699, allocations: 7.071 MB / 1.41 GB, free: 355.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/2.699, allocations: 8.531 kB / 1.41 GB, free: 355.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/2.701, allocations: 368.5 kB / 1.41 GB, free: 355.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002936/2.701, allocations: 61.84 kB / 1.41 GB, free: 355.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/2.702, allocations: 40.95 kB / 1.41 GB, free: 355.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/2.703, allocations: 1.445 MB / 1.412 GB, free: 354.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-05/2.703, allocations: 13.34 kB / 1.412 GB, free: 354.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/2.714, allocations: 3.87 MB / 1.415 GB, free: 354.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002313/2.716, allocations: 0.6873 MB / 1.416 GB, free: 353.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006684/2.717, allocations: 37.58 kB / 1.416 GB, free: 353.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003621/2.72, allocations: 443.5 kB / 1.417 GB, free: 353.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/2.721, allocations: 120.9 kB / 1.417 GB, free: 353.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/2.721, allocations: 67.97 kB / 1.417 GB, free: 353.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005516/2.726, allocations: 2.526 MB / 1.419 GB, free: 353.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.583e-06/2.726, allocations: 1.344 kB / 1.419 GB, free: 353.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006969/2.733, allocations: 1.976 MB / 1.421 GB, free: 353.6 MB / 0.9167 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.001304/2.735, allocations: 495.4 kB / 1.422 GB, free: 353.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01008/2.745, allocations: 4.051 MB / 1.426 GB, free: 352.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-05/2.745, allocations: 2.094 kB / 1.426 GB, free: 352.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003297/2.748, allocations: 1.17 MB / 1.427 GB, free: 352.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01193/2.76, allocations: 1.925 MB / 1.429 GB, free: 351.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03077/2.791, allocations: 9.389 MB / 1.438 GB, free: 346.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004487/2.796, allocations: 2.645 MB / 1.44 GB, free: 345.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/2.798, allocations: 286.6 kB / 1.441 GB, free: 345.9 MB / 0.9167 GB Notification: Performance of SimCode: time 3.246e-06/2.798, allocations: 0 / 1.441 GB, free: 345.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.117/2.915, allocations: 76.62 MB / 1.515 GB, free: 272.3 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)