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.835/2.835, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.001449/0.001448, allocations: 179.1 kB / 371 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.125/2.125, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009745/0.0009745, allocations: 90.58 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000541/0.0005412, allocations: 11.17 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2239, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.263/1.487, allocations: 347.2 MB / 1.317 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.09551/1.583, allocations: 43.93 MB / 1.36 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007613/1.59, allocations: 143.1 kB / 1.36 GB, free: 4.449 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01011/1.601, allocations: 1.785 MB / 1.362 GB, free: 2.652 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.02526/1.626, allocations: 5.276 MB / 1.367 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.01308/1.639, allocations: 2.778 MB / 1.37 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.02557/1.665, allocations: 13.04 MB / 1.383 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0108/1.675, allocations: 3.941 MB / 1.387 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01787/1.693, allocations: 4.851 MB / 1.391 GB, free: 4.668 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009891/1.703, allocations: 3.271 MB / 1.395 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.00193/1.705, allocations: 176 kB / 1.395 GB, free: 1.211 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01598/1.721, allocations: 3.348 MB / 1.398 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.004101/1.725, allocations: 1.323 MB / 1.399 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.003506/1.729, allocations: 1.003 MB / 1.4 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01537/1.744, allocations: 6.617 MB / 1.407 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.745, allocations: 0 / 1.407 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.895e-06/1.745, allocations: 4 kB / 1.407 GB, free: 4.879 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002788/1.745, allocations: 0 / 1.407 GB, free: 4.879 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.01676/1.762, allocations: 4.755 MB / 1.411 GB, free: 36 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.762, allocations: 12.03 kB / 1.411 GB, free: 24 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01871/1.78, allocations: 1.91 MB / 1.413 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/1.794, allocations: 3.389 MB / 1.417 GB, free: 10.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004129/1.798, allocations: 0.6892 MB / 1.417 GB, free: 9.938 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/1.8, allocations: 348 kB / 1.418 GB, free: 9.598 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/1.819, allocations: 4.605 MB / 1.422 GB, free: 4.895 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/1.819, allocations: 0 / 1.422 GB, free: 4.895 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007149/1.82, allocations: 140 kB / 1.422 GB, free: 4.758 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002344/1.82, allocations: 142.4 kB / 1.422 GB, free: 4.617 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01991/1.84, allocations: 4.194 MB / 1.426 GB, free: 424 kB / 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.7518/2.592, allocations: 18.77 MB / 1.445 GB, free: 338.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009302/2.601, allocations: 2.073 MB / 1.447 GB, free: 337.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005109/2.606, allocations: 1.087 MB / 1.448 GB, free: 337 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/2.608, allocations: 449.4 kB / 1.448 GB, free: 336.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005817/2.614, allocations: 1.27 MB / 1.449 GB, free: 336.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003191/2.617, allocations: 178.2 kB / 1.45 GB, free: 336.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=135): time 9.448e-06/2.617, allocations: 0 / 1.45 GB, free: 336.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=135): time 0.01761/2.634, allocations: 3.313 MB / 1.453 GB, free: 335 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/2.635, allocations: 148.3 kB / 1.453 GB, free: 334.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/2.646, allocations: 3.648 MB / 1.457 GB, free: 333.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005989/2.646, allocations: 60.39 kB / 1.457 GB, free: 333.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002855/2.649, allocations: 2.005 MB / 1.459 GB, free: 332 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/2.65, allocations: 473 kB / 1.459 GB, free: 331.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/2.651, allocations: 35.28 kB / 1.459 GB, free: 331.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001848/2.651, allocations: 377.8 kB / 1.459 GB, free: 331.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006038/2.657, allocations: 1.149 MB / 1.461 GB, free: 330.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006988/2.664, allocations: 1.83 MB / 1.462 GB, free: 329.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007756/2.672, allocations: 1.31 MB / 1.464 GB, free: 329.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.037e-05/2.672, allocations: 10.05 kB / 1.464 GB, free: 329.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01686/2.689, allocations: 3.264 MB / 1.467 GB, free: 328.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004095/2.689, allocations: 0.5984 MB / 1.467 GB, free: 327.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.773e-05/2.689, allocations: 16.12 kB / 1.467 GB, free: 327.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.758e-05/2.689, allocations: 27.53 kB / 1.467 GB, free: 327.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005536/2.695, allocations: 0.5757 MB / 1.468 GB, free: 327.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.008e-05/2.695, allocations: 37.69 kB / 1.468 GB, free: 327.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009262/2.704, allocations: 0.6212 MB / 1.469 GB, free: 327.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007247/2.705, allocations: 96.03 kB / 1.469 GB, free: 327.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/2.705, allocations: 4.188 kB / 1.469 GB, free: 327.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01391/2.719, allocations: 2.91 MB / 1.472 GB, free: 326 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-05/2.719, allocations: 17.61 kB / 1.472 GB, free: 326 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-05/2.719, allocations: 32.19 kB / 1.472 GB, free: 326 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005465/2.725, allocations: 0.5699 MB / 1.472 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-05/2.725, allocations: 35.28 kB / 1.472 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008167/2.733, allocations: 0.538 MB / 1.473 GB, free: 325.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006657/2.734, allocations: 95.94 kB / 1.473 GB, free: 325.6 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.003895/2.738, allocations: 1.123 MB / 1.474 GB, free: 324.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/2.739, allocations: 372.8 kB / 1.474 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/2.75, allocations: 2.609 MB / 1.477 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/2.751, allocations: 13.41 kB / 1.477 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/2.751, allocations: 1.188 kB / 1.477 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009372/2.76, allocations: 2.212 MB / 1.479 GB, free: 321.9 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.02644/2.786, allocations: 7.099 MB / 1.486 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/2.787, allocations: 11.83 kB / 1.486 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003815/2.79, allocations: 371.1 kB / 1.486 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003854/2.791, allocations: 67.86 kB / 1.486 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003484/2.791, allocations: 43.75 kB / 1.486 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/2.793, allocations: 1.438 MB / 1.488 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/2.793, allocations: 15.88 kB / 1.488 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/2.808, allocations: 3.887 MB / 1.492 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002811/2.811, allocations: 0.6737 MB / 1.492 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001309/2.812, allocations: 41.42 kB / 1.492 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006982/2.819, allocations: 438.9 kB / 1.493 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004945/2.819, allocations: 119.2 kB / 1.493 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003136/2.82, allocations: 62.58 kB / 1.493 GB, free: 312.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007092/2.827, allocations: 2.53 MB / 1.495 GB, free: 311.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.072e-06/2.827, allocations: 4 kB / 1.495 GB, free: 311.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009628/2.837, allocations: 2.006 MB / 1.497 GB, free: 310 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.002039/2.839, allocations: 495.1 kB / 1.498 GB, free: 309.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01734/2.856, allocations: 4.056 MB / 1.502 GB, free: 305.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/2.856, allocations: 0 / 1.502 GB, free: 305.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005017/2.861, allocations: 1.213 MB / 1.503 GB, free: 304.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01748/2.879, allocations: 1.927 MB / 1.505 GB, free: 302.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02743/2.906, allocations: 9.212 MB / 1.514 GB, free: 293 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003679/2.91, allocations: 2.665 MB / 1.516 GB, free: 290.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007885/2.918, allocations: 0.9749 MB / 1.517 GB, free: 289.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/2.92, allocations: 263.4 kB / 1.518 GB, free: 289.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/2.92, allocations: 0 / 1.518 GB, free: 289.1 MB / 0.948 GB Notification: Performance of Templates: time 0.2127/3.133, allocations: 68.84 MB / 1.585 GB, free: 220.9 MB / 0.948 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)