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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009007/0.0009007, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007138/0.007138, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.68/1.68, allocations: 252 MB / 0.5105 GB, free: 4.672 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000532/0.0005321, allocations: 12 kB / 0.6249 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5525/0.5531, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.9177/1.471, allocations: 373 MB / 1.093 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.07601/1.547, allocations: 47.41 MB / 1.139 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01069/1.558, allocations: 143.1 kB / 1.139 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.009207/1.567, allocations: 2.39 MB / 1.142 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.02732/1.594, allocations: 7.151 MB / 1.149 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01035/1.605, allocations: 3.429 MB / 1.152 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02149/1.626, allocations: 15.46 MB / 1.167 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008814/1.635, allocations: 4.557 MB / 1.172 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01571/1.651, allocations: 5.058 MB / 1.177 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/1.662, allocations: 3.533 MB / 1.18 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001939/1.664, allocations: 168 kB / 1.18 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01567/1.68, allocations: 6.831 MB / 1.187 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003064/1.683, allocations: 1.351 MB / 1.188 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.006349/1.689, allocations: 2.36 MB / 1.19 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0216/1.711, allocations: 9.182 MB / 1.199 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.711, allocations: 0 / 1.199 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.856e-06/1.711, allocations: 4 kB / 1.199 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002768/1.711, allocations: 0 / 1.199 GB, free: 3.91 MB / 0.8731 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.01334/1.725, allocations: 4.689 MB / 1.204 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.725, allocations: 19.95 kB / 1.204 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/1.736, allocations: 1.863 MB / 1.206 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/1.746, allocations: 3.581 MB / 1.209 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001734/1.748, allocations: 0.6383 MB / 1.21 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/1.749, allocations: 344 kB / 1.21 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/1.76, allocations: 4.563 MB / 1.215 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.076e-05/1.76, allocations: 0 / 1.215 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003631/1.761, allocations: 136 kB / 1.215 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/1.761, allocations: 134.5 kB / 1.215 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00958/1.77, allocations: 4.066 MB / 1.219 GB, free: 15.6 MB / 0.9044 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.02945/1.8, allocations: 18.61 MB / 1.237 GB, free: 11.62 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003841/1.804, allocations: 1.809 MB / 1.239 GB, free: 9.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/1.806, allocations: 0.9255 MB / 1.24 GB, free: 8.848 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006392/1.806, allocations: 418 kB / 1.24 GB, free: 8.367 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002446/1.809, allocations: 1.108 MB / 1.241 GB, free: 7.234 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002168/1.811, allocations: 150.2 kB / 1.241 GB, free: 7.086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=133): time 4.238e-06/1.811, allocations: 0 / 1.241 GB, free: 7.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=133): time 0.00771/1.819, allocations: 2.873 MB / 1.244 GB, free: 4.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/1.819, allocations: 145.8 kB / 1.244 GB, free: 4.008 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005835/1.825, allocations: 3.373 MB / 1.248 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004469/1.825, allocations: 57.7 kB / 1.248 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002179/1.827, allocations: 2.149 MB / 1.25 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005556/1.828, allocations: 477.3 kB / 1.25 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/1.828, allocations: 198.3 kB / 1.251 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/1.828, allocations: 305.1 kB / 1.251 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/1.831, allocations: 1.043 MB / 1.252 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/1.835, allocations: 2.137 MB / 1.254 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005874/1.84, allocations: 3.087 MB / 1.257 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/1.841, allocations: 11.94 kB / 1.257 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008331/1.849, allocations: 3.408 MB / 1.26 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008497/1.85, allocations: 1.047 MB / 1.261 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.707e-05/1.85, allocations: 31.98 kB / 1.261 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-05/1.85, allocations: 51.98 kB / 1.261 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/1.852, allocations: 0.6357 MB / 1.262 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.899e-05/1.853, allocations: 71.72 kB / 1.262 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4773/2.33, allocations: 0.5837 MB / 1.263 GB, free: 382.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000729/2.331, allocations: 126.2 kB / 1.263 GB, free: 382.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/2.331, allocations: 6.469 kB / 1.263 GB, free: 382.2 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008861/2.34, allocations: 3.006 MB / 1.266 GB, free: 382 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/2.34, allocations: 31.59 kB / 1.266 GB, free: 382 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.333e-05/2.34, allocations: 44.16 kB / 1.266 GB, free: 382 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/2.343, allocations: 0.6367 MB / 1.266 GB, free: 382 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-05/2.343, allocations: 63.91 kB / 1.266 GB, free: 382 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004729/2.348, allocations: 498.5 kB / 1.267 GB, free: 382 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002908/2.348, allocations: 124.8 kB / 1.267 GB, free: 382 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (291): * Single equations (assignments): 287 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * 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.003125/2.351, allocations: 1.175 MB / 1.268 GB, free: 381.6 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/2.352, allocations: 353.7 kB / 1.269 GB, free: 381.6 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006586/2.359, allocations: 2.323 MB / 1.271 GB, free: 380.8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/2.359, allocations: 13.38 kB / 1.271 GB, free: 380.8 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/2.359, allocations: 7.688 kB / 1.271 GB, free: 380.8 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004191/2.363, allocations: 1.95 MB / 1.273 GB, free: 379.9 MB / 0.9356 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.01349/2.376, allocations: 6.409 MB / 1.279 GB, free: 377.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/2.376, allocations: 11.81 kB / 1.279 GB, free: 377.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/2.378, allocations: 325.5 kB / 1.279 GB, free: 377.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/2.378, allocations: 55.22 kB / 1.279 GB, free: 377 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-05/2.378, allocations: 47.48 kB / 1.279 GB, free: 377 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009619/2.379, allocations: 1.433 MB / 1.281 GB, free: 375.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/2.379, allocations: 19.14 kB / 1.281 GB, free: 375.6 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006585/2.386, allocations: 3.382 MB / 1.284 GB, free: 374.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/2.388, allocations: 0.5934 MB / 1.285 GB, free: 374 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005005/2.388, allocations: 35.78 kB / 1.285 GB, free: 373.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/2.391, allocations: 366.1 kB / 1.285 GB, free: 373.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/2.391, allocations: 117.6 kB / 1.285 GB, free: 373.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/2.391, allocations: 66.19 kB / 1.285 GB, free: 373.9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003445/2.395, allocations: 2.284 MB / 1.287 GB, free: 373.1 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/2.395, allocations: 0 / 1.287 GB, free: 373.1 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00594/2.401, allocations: 2.004 MB / 1.289 GB, free: 372.8 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (131): * Single equations (assignments): 128 * 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.001136/2.402, allocations: 485.7 kB / 1.29 GB, free: 372.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.008526/2.41, allocations: 3.944 MB / 1.294 GB, free: 371.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/2.411, allocations: 6.875 kB / 1.294 GB, free: 371.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/2.413, allocations: 1.064 MB / 1.295 GB, free: 371 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01279/2.426, allocations: 1.622 MB / 1.296 GB, free: 369.7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/2.441, allocations: 9.382 MB / 1.306 GB, free: 360.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/2.442, allocations: 2.657 MB / 1.308 GB, free: 357.7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.004855/2.447, allocations: 1.046 MB / 1.309 GB, free: 356.6 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006699/2.448, allocations: 251.4 kB / 1.309 GB, free: 356.4 MB / 0.9356 GB Notification: Performance of SimCode: time 9.31e-07/2.448, allocations: 0 / 1.309 GB, free: 356.4 MB / 0.9356 GB Notification: Performance of Templates: time 0.1069/2.555, allocations: 61.29 MB / 1.369 GB, free: 296 MB / 0.9356 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: