Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 190.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.966/2.966, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 62.91 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.342, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.04/1.382, allocations: 380.1 MB / 1.439 GB, free: 1.832 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.06539/1.447, allocations: 46.53 MB / 1.485 GB, free: 7.723 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009/1.457, allocations: 175.1 kB / 1.485 GB, free: 7.551 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01848/1.475, allocations: 8.59 MB / 1.493 GB, free: 14.94 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.02218/1.497, allocations: 7.323 MB / 1.501 GB, free: 7.586 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01059/1.508, allocations: 3.845 MB / 1.504 GB, free: 3.77 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.02473/1.533, allocations: 17.11 MB / 1.521 GB, free: 2.633 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/1.543, allocations: 5.571 MB / 1.526 GB, free: 12.98 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0157/1.558, allocations: 6.282 MB / 1.533 GB, free: 6.668 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007339/1.566, allocations: 3.696 MB / 1.536 GB, free: 2.977 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001934/1.568, allocations: 0.4961 MB / 1.537 GB, free: 2.48 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.014/1.582, allocations: 6.33 MB / 1.543 GB, free: 12.14 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.003657/1.585, allocations: 1.986 MB / 1.545 GB, free: 10.14 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.007145/1.593, allocations: 3.13 MB / 1.548 GB, free: 7 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02031/1.613, allocations: 10.16 MB / 1.558 GB, free: 12.81 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.613, allocations: 7.938 kB / 1.558 GB, free: 12.8 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.002e-06/1.613, allocations: 0 / 1.558 GB, free: 12.8 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0003554/1.613, allocations: 0 / 1.558 GB, free: 12.8 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.01979/1.633, allocations: 6.438 MB / 1.564 GB, free: 6.25 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.633, allocations: 15.98 kB / 1.564 GB, free: 6.234 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/1.646, allocations: 2.01 MB / 1.566 GB, free: 4.215 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01283/1.659, allocations: 5.612 MB / 1.572 GB, free: 14.52 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001677/1.661, allocations: 0.5989 MB / 1.572 GB, free: 13.9 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/1.662, allocations: 348 kB / 1.572 GB, free: 13.56 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/1.677, allocations: 4.53 MB / 1.577 GB, free: 8.914 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/1.677, allocations: 3.938 kB / 1.577 GB, free: 8.91 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/1.678, allocations: 143.9 kB / 1.577 GB, free: 8.77 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002625/1.678, allocations: 138.5 kB / 1.577 GB, free: 8.633 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01251/1.691, allocations: 3.999 MB / 1.581 GB, free: 4.625 MB / 1.186 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.04272/1.734, allocations: 19.75 MB / 1.6 GB, free: 15.46 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004714/1.738, allocations: 1.761 MB / 1.602 GB, free: 13.66 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002591/1.741, allocations: 0.9207 MB / 1.603 GB, free: 12.73 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000765/1.742, allocations: 413.2 kB / 1.603 GB, free: 12.25 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002874/1.745, allocations: 1.061 MB / 1.604 GB, free: 11.17 MB / 1.217 GB Notification: Performance of pre-optimization done (n=127): time 4.418e-06/1.745, allocations: 0 / 1.604 GB, free: 11.17 MB / 1.217 GB Notification: Performance of matching and sorting (n=127): time 0.009556/1.754, allocations: 2.933 MB / 1.607 GB, free: 8.203 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/1.755, allocations: 145.5 kB / 1.607 GB, free: 8.031 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/1.765, allocations: 4.654 MB / 1.612 GB, free: 3.391 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0005538/1.766, allocations: 61.7 kB / 1.612 GB, free: 3.324 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.003587/1.769, allocations: 2.429 MB / 1.614 GB, free: 0.8711 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.771, allocations: 469.5 kB / 1.615 GB, free: 416 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002012/1.773, allocations: 0.6858 MB / 1.615 GB, free: 15.71 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.773, allocations: 301.1 kB / 1.616 GB, free: 15.41 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003662/1.776, allocations: 1.409 MB / 1.617 GB, free: 14 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004737/1.781, allocations: 2.545 MB / 1.62 GB, free: 10.94 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007165/1.788, allocations: 3.736 MB / 1.623 GB, free: 6.742 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.141e-05/1.788, allocations: 8 kB / 1.623 GB, free: 6.734 MB / 1.232 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01077/1.799, allocations: 4.333 MB / 1.628 GB, free: 2.387 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 7.455e-05/1.799, allocations: 53.64 kB / 1.628 GB, free: 2.328 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.851e-05/1.799, allocations: 32 kB / 1.628 GB, free: 2.297 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.534e-05/1.799, allocations: 48 kB / 1.628 GB, free: 2.25 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/1.803, allocations: 0.7375 MB / 1.628 GB, free: 1.512 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-05/1.803, allocations: 75.72 kB / 1.628 GB, free: 1.438 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004709/1.807, allocations: 0.5635 MB / 1.629 GB, free: 0.8711 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003401/1.808, allocations: 144 kB / 1.629 GB, free: 0.7305 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00578/1.814, allocations: 2.563 MB / 1.632 GB, free: 14.16 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004522/1.818, allocations: 2.544 MB / 1.634 GB, free: 11.11 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006753/1.825, allocations: 3.734 MB / 1.638 GB, free: 6.898 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.761e-05/1.825, allocations: 8 kB / 1.638 GB, free: 6.891 MB / 1.248 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01003/1.835, allocations: 4.341 MB / 1.642 GB, free: 2.535 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/1.835, allocations: 47.11 kB / 1.642 GB, free: 2.484 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.496e-05/1.835, allocations: 32 kB / 1.642 GB, free: 2.453 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.358e-05/1.835, allocations: 48 kB / 1.642 GB, free: 2.406 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/1.838, allocations: 0.7417 MB / 1.643 GB, free: 1.664 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.952e-05/1.838, allocations: 67.78 kB / 1.643 GB, free: 1.598 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004784/1.843, allocations: 494.5 kB / 1.643 GB, free: 1.113 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003257/1.843, allocations: 144 kB / 1.644 GB, free: 0.9727 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (352): * Single equations (assignments): 346 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007403/1.844, allocations: 371.1 kB / 1.644 GB, free: 0.6055 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009486/1.845, allocations: 434.4 kB / 1.644 GB, free: 180 kB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005965/1.851, allocations: 2.319 MB / 1.647 GB, free: 13.83 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/1.851, allocations: 16 kB / 1.647 GB, free: 13.81 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.851, allocations: 7.938 kB / 1.647 GB, free: 13.8 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004436/1.856, allocations: 1.922 MB / 1.648 GB, free: 11.79 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/1.87, allocations: 6.702 MB / 1.655 GB, free: 4.836 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.871, allocations: 12 kB / 1.655 GB, free: 4.824 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.872, allocations: 332.1 kB / 1.655 GB, free: 4.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002372/1.873, allocations: 52.83 kB / 1.655 GB, free: 4.445 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/1.873, allocations: 51.92 kB / 1.655 GB, free: 4.395 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/1.874, allocations: 1.551 MB / 1.657 GB, free: 2.707 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.541e-05/1.874, allocations: 19.88 kB / 1.657 GB, free: 2.688 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009231/1.883, allocations: 3.387 MB / 1.66 GB, free: 15.14 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003051/1.886, allocations: 0.7255 MB / 1.661 GB, free: 14.39 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001299/1.888, allocations: 43.98 kB / 1.661 GB, free: 14.35 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004555/1.892, allocations: 203.8 kB / 1.661 GB, free: 14.15 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/1.893, allocations: 120.2 kB / 1.661 GB, free: 14.04 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002528/1.893, allocations: 59.97 kB / 1.661 GB, free: 13.98 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008867/1.902, allocations: 3.123 MB / 1.664 GB, free: 10.87 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.353e-06/1.902, allocations: 0 / 1.664 GB, free: 10.87 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01202/1.914, allocations: 2.295 MB / 1.667 GB, free: 8.57 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (125): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00201/1.916, allocations: 0.6297 MB / 1.667 GB, free: 7.941 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01686/1.933, allocations: 5.108 MB / 1.672 GB, free: 2.824 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/1.933, allocations: 320 / 1.672 GB, free: 2.824 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004025/1.937, allocations: 1.059 MB / 1.673 GB, free: 1.754 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01581/1.953, allocations: 2.133 MB / 1.675 GB, free: 15.67 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02955/1.982, allocations: 8.982 MB / 1.684 GB, free: 6.523 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006091/1.989, allocations: 3.019 MB / 1.687 GB, free: 3.473 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.01128/2, allocations: 1.304 MB / 1.688 GB, free: 2.164 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/2.002, allocations: 315.3 kB / 1.689 GB, free: 1.855 MB / 1.295 GB Notification: Performance of SimCode: time 1.974e-06/2.002, allocations: 0 / 1.689 GB, free: 1.855 MB / 1.295 GB Notification: Performance of Templates: time 0.1489/2.151, allocations: 77.81 MB / 1.765 GB, free: 4.965 MB / 1.373 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)