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 1.715/1.715, allocations: 287.5 MB / 302.6 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.001418/0.001418, allocations: 186.2 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.000887/0.000887, allocations: 99.58 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004045, allocations: 11.81 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.232, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.9035/1.136, allocations: 347.2 MB / 1.318 GB, free: 444 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.06247/1.198, allocations: 43.93 MB / 1.361 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008324/1.206, allocations: 143.1 kB / 1.361 GB, free: 4.273 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.007792/1.214, allocations: 1.785 MB / 1.362 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.01816/1.232, allocations: 5.268 MB / 1.368 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.01027/1.243, allocations: 2.783 MB / 1.37 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.02136/1.264, allocations: 13.22 MB / 1.383 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01268/1.277, allocations: 4.496 MB / 1.388 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02184/1.299, allocations: 4.855 MB / 1.392 GB, free: 3.73 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01162/1.311, allocations: 3.271 MB / 1.396 GB, free: 456 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002752/1.313, allocations: 172 kB / 1.396 GB, free: 284 kB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01858/1.332, allocations: 3.348 MB / 1.399 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.004478/1.336, allocations: 1.335 MB / 1.4 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.004297/1.341, allocations: 0.9992 MB / 1.401 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01733/1.358, allocations: 6.617 MB / 1.408 GB, free: 3.941 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/1.358, allocations: 7.938 kB / 1.408 GB, free: 3.934 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.583e-06/1.358, allocations: 0 / 1.408 GB, free: 3.934 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003618/1.359, allocations: 0 / 1.408 GB, free: 3.934 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.01907/1.378, allocations: 4.696 MB / 1.412 GB, free: 15.15 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/1.378, allocations: 11.97 kB / 1.412 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/1.391, allocations: 1.914 MB / 1.414 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/1.401, allocations: 3.517 MB / 1.418 GB, free: 9.637 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001908/1.403, allocations: 0.7048 MB / 1.418 GB, free: 8.906 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/1.404, allocations: 348 kB / 1.419 GB, free: 8.566 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/1.418, allocations: 4.593 MB / 1.423 GB, free: 3.875 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/1.418, allocations: 3.938 kB / 1.423 GB, free: 3.871 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007666/1.419, allocations: 148 kB / 1.423 GB, free: 3.727 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/1.419, allocations: 138.5 kB / 1.423 GB, free: 3.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5652/1.984, allocations: 4.176 MB / 1.428 GB, free: 349.4 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 preOpt removeSimpleEquations (simulation): time 0.03966/2.024, allocations: 18.8 MB / 1.446 GB, free: 337.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005188/2.029, allocations: 2.066 MB / 1.448 GB, free: 337 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002759/2.032, allocations: 1.085 MB / 1.449 GB, free: 336.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008192/2.033, allocations: 449.9 kB / 1.449 GB, free: 336.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003277/2.036, allocations: 1.267 MB / 1.451 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002265/2.038, allocations: 183.3 kB / 1.451 GB, free: 335.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=135): time 7.644e-06/2.038, allocations: 0 / 1.451 GB, free: 335.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=135): time 0.009832/2.048, allocations: 3.308 MB / 1.454 GB, free: 334.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/2.048, allocations: 152.2 kB / 1.454 GB, free: 334.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008876/2.057, allocations: 3.646 MB / 1.458 GB, free: 333.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004972/2.058, allocations: 64.67 kB / 1.458 GB, free: 333.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002119/2.06, allocations: 2.005 MB / 1.46 GB, free: 331.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006726/2.061, allocations: 472.1 kB / 1.46 GB, free: 331.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/2.061, allocations: 36.12 kB / 1.46 GB, free: 331.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001494/2.061, allocations: 376.8 kB / 1.461 GB, free: 330.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003082/2.064, allocations: 1.146 MB / 1.462 GB, free: 330.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003438/2.068, allocations: 1.827 MB / 1.464 GB, free: 329.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005858/2.074, allocations: 2.698 MB / 1.466 GB, free: 328.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.585e-05/2.074, allocations: 4.625 kB / 1.466 GB, free: 328.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009972/2.084, allocations: 3.265 MB / 1.469 GB, free: 326.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004681/2.084, allocations: 0.5984 MB / 1.47 GB, free: 326.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-05/2.084, allocations: 15.59 kB / 1.47 GB, free: 326.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.515e-05/2.084, allocations: 25.69 kB / 1.47 GB, free: 326.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/2.087, allocations: 0.5814 MB / 1.471 GB, free: 326.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.358e-05/2.087, allocations: 33.22 kB / 1.471 GB, free: 326 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005247/2.092, allocations: 0.6223 MB / 1.471 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003313/2.093, allocations: 93.84 kB / 1.471 GB, free: 325.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/2.093, allocations: 12 kB / 1.471 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007797/2.101, allocations: 2.907 MB / 1.474 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-05/2.101, allocations: 15.53 kB / 1.474 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-05/2.101, allocations: 25.38 kB / 1.474 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002787/2.104, allocations: 0.5734 MB / 1.475 GB, free: 324.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-05/2.104, allocations: 42.17 kB / 1.475 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004927/2.109, allocations: 0.5305 MB / 1.475 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004319/2.109, allocations: 96.97 kB / 1.475 GB, free: 324 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.003272/2.112, allocations: 1.115 MB / 1.476 GB, free: 323.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/2.114, allocations: 370.3 kB / 1.477 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006847/2.12, allocations: 2.606 MB / 1.479 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.242e-05/2.121, allocations: 14.41 kB / 1.479 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/2.121, allocations: 1.5 kB / 1.479 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004539/2.125, allocations: 2.212 MB / 1.482 GB, free: 320.3 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.01737/2.143, allocations: 7.114 MB / 1.488 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/2.143, allocations: 7.906 kB / 1.488 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/2.144, allocations: 372.1 kB / 1.489 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/2.145, allocations: 56.89 kB / 1.489 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/2.145, allocations: 49.84 kB / 1.489 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/2.146, allocations: 1.437 MB / 1.49 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/2.146, allocations: 15.03 kB / 1.49 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009117/2.155, allocations: 3.876 MB / 1.494 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002471/2.158, allocations: 0.6829 MB / 1.495 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/2.159, allocations: 38.95 kB / 1.495 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004264/2.163, allocations: 444.3 kB / 1.495 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/2.164, allocations: 111.8 kB / 1.495 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/2.164, allocations: 70.77 kB / 1.495 GB, free: 311.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004578/2.168, allocations: 2.524 MB / 1.498 GB, free: 309.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/2.168, allocations: 0 / 1.498 GB, free: 309.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006303/2.175, allocations: 2.018 MB / 1.5 GB, free: 307.4 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.001098/2.176, allocations: 0.4941 MB / 1.5 GB, free: 307 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008902/2.185, allocations: 4.046 MB / 1.504 GB, free: 302.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/2.185, allocations: 4 kB / 1.504 GB, free: 302.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002664/2.188, allocations: 1.206 MB / 1.506 GB, free: 301.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01494/2.202, allocations: 2.029 MB / 1.507 GB, free: 299.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/2.219, allocations: 9.221 MB / 1.516 GB, free: 290.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/2.221, allocations: 2.657 MB / 1.519 GB, free: 287.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005126/2.227, allocations: 0.9792 MB / 1.52 GB, free: 286.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/2.228, allocations: 295.4 kB / 1.52 GB, free: 286.4 MB / 0.948 GB Notification: Performance of SimCode: time 9.01e-07/2.228, allocations: 0 / 1.52 GB, free: 286.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1499/2.377, allocations: 74.24 MB / 1.593 GB, free: 212.8 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)