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: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.66/2.66, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001555/0.001554, allocations: 182.8 kB / 370.8 MB, free: 10.88 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.325/2.325, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.002206/0.002206, allocations: 94.02 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005698/0.00057, allocations: 15.56 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2707, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.259/1.53, allocations: 305.6 MB / 1.277 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.09686/1.627, allocations: 41.99 MB / 1.318 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009828/1.636, allocations: 135.1 kB / 1.318 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01337/1.65, allocations: 2.372 MB / 1.32 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.03006/1.68, allocations: 6.825 MB / 1.327 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02106/1.701, allocations: 4.596 MB / 1.331 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01882/1.72, allocations: 6.675 MB / 1.338 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/1.731, allocations: 4.004 MB / 1.342 GB, free: 5.027 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01547/1.746, allocations: 4.252 MB / 1.346 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008258/1.755, allocations: 2.232 MB / 1.348 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001818/1.757, allocations: 168 kB / 1.348 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/1.769, allocations: 2.917 MB / 1.351 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.003114/1.772, allocations: 1.215 MB / 1.352 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.003189/1.776, allocations: 0.9953 MB / 1.353 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01465/1.79, allocations: 6.293 MB / 1.359 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/1.79, allocations: 0 / 1.359 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.695e-06/1.79, allocations: 0 / 1.359 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002878/1.791, allocations: 0 / 1.359 GB, free: 2.898 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.01621/1.807, allocations: 4.662 MB / 1.364 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.807, allocations: 12.02 kB / 1.364 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01886/1.826, allocations: 1.922 MB / 1.366 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/1.839, allocations: 3.448 MB / 1.369 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003487/1.842, allocations: 0.7009 MB / 1.37 GB, free: 7.969 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001491/1.844, allocations: 344 kB / 1.37 GB, free: 7.633 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02353/1.867, allocations: 4.555 MB / 1.375 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/1.868, allocations: 7.938 kB / 1.375 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008036/1.868, allocations: 140 kB / 1.375 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/1.869, allocations: 138.5 kB / 1.375 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/1.888, allocations: 4.159 MB / 1.379 GB, free: 14.53 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.05209/1.94, allocations: 18.85 MB / 1.397 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008948/1.949, allocations: 2.032 MB / 1.399 GB, free: 8.23 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008148/1.95, allocations: 174.3 kB / 1.399 GB, free: 8.043 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005532/1.955, allocations: 1.255 MB / 1.401 GB, free: 6.758 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002621/1.958, allocations: 181.9 kB / 1.401 GB, free: 6.578 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=135): time 9.368e-06/1.958, allocations: 0 / 1.401 GB, free: 6.578 MB / 0.9323 GB Notification: Performance of matching and sorting (n=135): time 0.01715/1.975, allocations: 3.29 MB / 1.404 GB, free: 3.254 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/1.975, allocations: 226.6 kB / 1.404 GB, free: 2.984 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/1.986, allocations: 3.626 MB / 1.408 GB, free: 15.33 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005494/1.986, allocations: 65.7 kB / 1.408 GB, free: 15.26 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003208/1.99, allocations: 2.005 MB / 1.41 GB, free: 13.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009901/1.991, allocations: 473.2 kB / 1.41 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/1.991, allocations: 36 kB / 1.41 GB, free: 12.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002548/1.991, allocations: 377.9 kB / 1.411 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005998/1.997, allocations: 1.136 MB / 1.412 GB, free: 11.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007007/2.004, allocations: 1.811 MB / 1.414 GB, free: 9.117 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006466/2.011, allocations: 1.308 MB / 1.415 GB, free: 7.805 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-05/2.011, allocations: 4 kB / 1.415 GB, free: 7.801 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01558/2.026, allocations: 3.24 MB / 1.418 GB, free: 4.543 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003755/2.03, allocations: 7.35 MB / 1.425 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.105e-05/2.03, allocations: 20 kB / 1.425 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.308e-05/2.03, allocations: 28 kB / 1.425 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005712/2.036, allocations: 0.5851 MB / 1.426 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-05/2.036, allocations: 35.86 kB / 1.426 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00881/2.045, allocations: 0.6227 MB / 1.426 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006456/2.046, allocations: 95.97 kB / 1.427 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/2.046, allocations: 4 kB / 1.427 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01433/2.06, allocations: 2.895 MB / 1.429 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.619e-05/2.06, allocations: 16.11 kB / 1.429 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.983e-05/2.06, allocations: 35.89 kB / 1.429 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005462/2.066, allocations: 0.5813 MB / 1.43 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.177e-05/2.066, allocations: 35.92 kB / 1.43 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007826/2.074, allocations: 0.5309 MB / 1.431 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005856/2.074, allocations: 99.95 kB / 1.431 GB, free: 7.191 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.00359/2.078, allocations: 1.121 MB / 1.432 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/2.079, allocations: 363.4 kB / 1.432 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/2.091, allocations: 2.503 MB / 1.435 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-05/2.091, allocations: 12 kB / 1.435 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/2.091, allocations: 4 kB / 1.435 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008474/2.1, allocations: 1.929 MB / 1.436 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6973/2.797, allocations: 7.815 MB / 1.444 GB, free: 359.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.951e-05/2.797, allocations: 14.62 kB / 1.444 GB, free: 359.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006427/2.804, allocations: 381.5 kB / 1.444 GB, free: 359.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006484/2.804, allocations: 62.61 kB / 1.444 GB, free: 359.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006357/2.805, allocations: 51.17 kB / 1.445 GB, free: 359.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/2.808, allocations: 1.453 MB / 1.446 GB, free: 358 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.552e-05/2.808, allocations: 16.69 kB / 1.446 GB, free: 358 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02658/2.834, allocations: 5.323 MB / 1.451 GB, free: 354.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00458/2.839, allocations: 0.6877 MB / 1.452 GB, free: 354.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002192/2.841, allocations: 46.8 kB / 1.452 GB, free: 354.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01138/2.853, allocations: 433.7 kB / 1.452 GB, free: 354.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000913/2.854, allocations: 127.1 kB / 1.452 GB, free: 354.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006454/2.854, allocations: 73.02 kB / 1.452 GB, free: 354.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01315/2.867, allocations: 2.505 MB / 1.455 GB, free: 353.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.001e-06/2.868, allocations: 0 / 1.455 GB, free: 353.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01372/2.881, allocations: 2.011 MB / 1.457 GB, free: 353 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.001969/2.883, allocations: 0.4979 MB / 1.457 GB, free: 352.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01933/2.903, allocations: 4.026 MB / 1.461 GB, free: 351.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.88e-05/2.903, allocations: 0 / 1.461 GB, free: 351.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.005709/2.908, allocations: 1.22 MB / 1.463 GB, free: 351.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01703/2.925, allocations: 1.916 MB / 1.464 GB, free: 350.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/2.959, allocations: 9.294 MB / 1.473 GB, free: 346.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005876/2.965, allocations: 2.747 MB / 1.476 GB, free: 345.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.008816/2.973, allocations: 0.9845 MB / 1.477 GB, free: 344.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/2.976, allocations: 269.9 kB / 1.477 GB, free: 344.9 MB / 0.9636 GB Notification: Performance of SimCode: time 8.81e-07/2.976, allocations: 0 / 1.477 GB, free: 344.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.2042/3.18, allocations: 68.28 MB / 1.544 GB, free: 290.3 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)