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/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 176.7 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008307/0.0008309, allocations: 86.36 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004718, allocations: 9.719 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2722, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8341/1.106, allocations: 378 MB / 1.266 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.06084/1.167, allocations: 47.96 MB / 1.313 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00918/1.176, allocations: 147.1 kB / 1.313 GB, free: 13.53 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.008743/1.185, allocations: 2.381 MB / 1.315 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.02255/1.208, allocations: 7.156 MB / 1.322 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.01126/1.219, allocations: 3.49 MB / 1.326 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.02062/1.24, allocations: 15.47 MB / 1.341 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006653/1.246, allocations: 4.505 MB / 1.345 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01192/1.258, allocations: 5.12 MB / 1.35 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009204/1.268, allocations: 3.604 MB / 1.354 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.001593/1.269, allocations: 168 kB / 1.354 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0144/1.284, allocations: 6.831 MB / 1.36 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002584/1.286, allocations: 1.37 MB / 1.362 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.004957/1.291, allocations: 2.354 MB / 1.364 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01082/1.302, allocations: 6.944 MB / 1.371 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.302, allocations: 3.984 kB / 1.371 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.272e-06/1.302, allocations: 0 / 1.371 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003395/1.302, allocations: 0 / 1.371 GB, free: 1.926 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: 858 * Number of variables: 858 Notification: Performance of Generate backend data structure: time 0.01226/1.315, allocations: 4.712 MB / 1.375 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.315, allocations: 8.031 kB / 1.375 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/1.326, allocations: 1.871 MB / 1.377 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009773/1.336, allocations: 3.508 MB / 1.381 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001848/1.337, allocations: 0.7009 MB / 1.381 GB, free: 6.938 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/1.339, allocations: 344 kB / 1.382 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/1.351, allocations: 4.638 MB / 1.386 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/1.351, allocations: 11.94 kB / 1.386 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007321/1.352, allocations: 136 kB / 1.386 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/1.352, allocations: 134.5 kB / 1.386 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/1.363, allocations: 4.222 MB / 1.391 GB, free: 13.36 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.5811/1.944, allocations: 18.78 MB / 1.409 GB, free: 59.82 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005163/1.949, allocations: 2.072 MB / 1.411 GB, free: 59.6 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/1.952, allocations: 1.092 MB / 1.412 GB, free: 59.59 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000779/1.953, allocations: 447.7 kB / 1.412 GB, free: 59.22 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003311/1.956, allocations: 1.285 MB / 1.414 GB, free: 59.12 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002108/1.958, allocations: 172.1 kB / 1.414 GB, free: 59.12 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=135): time 4.014e-05/1.958, allocations: 0 / 1.414 GB, free: 59.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=135): time 0.009998/1.968, allocations: 3.3 MB / 1.417 GB, free: 58.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/1.969, allocations: 147.8 kB / 1.417 GB, free: 58.79 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007766/1.976, allocations: 3.687 MB / 1.421 GB, free: 58.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005538/1.977, allocations: 62.03 kB / 1.421 GB, free: 58.47 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00247/1.979, allocations: 2 MB / 1.423 GB, free: 58.02 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007397/1.98, allocations: 480.7 kB / 1.423 GB, free: 57.72 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/1.98, allocations: 162 kB / 1.423 GB, free: 57.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 5.902e-05/1.981, allocations: 303 kB / 1.424 GB, free: 57.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/1.984, allocations: 1.187 MB / 1.425 GB, free: 57.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003372/1.987, allocations: 1.866 MB / 1.427 GB, free: 56.56 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005179/1.992, allocations: 2.761 MB / 1.429 GB, free: 55.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/1.992, allocations: 5.953 kB / 1.429 GB, free: 55.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.007436/2, allocations: 3.336 MB / 1.433 GB, free: 55.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003163/2, allocations: 0.5996 MB / 1.433 GB, free: 54.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/2, allocations: 15.78 kB / 1.433 GB, free: 54.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.375e-05/2, allocations: 25.62 kB / 1.433 GB, free: 54.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/2.003, allocations: 0.581 MB / 1.434 GB, free: 54.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.08e-05/2.003, allocations: 34.41 kB / 1.434 GB, free: 54.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00467/2.007, allocations: 0.6208 MB / 1.435 GB, free: 54.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/2.008, allocations: 94.3 kB / 1.435 GB, free: 54.68 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/2.008, allocations: 10.69 kB / 1.435 GB, free: 54.68 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007193/2.015, allocations: 2.918 MB / 1.437 GB, free: 54.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.555e-05/2.015, allocations: 15.53 kB / 1.438 GB, free: 54.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/2.015, allocations: 29.12 kB / 1.438 GB, free: 54.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00249/2.017, allocations: 0.5784 MB / 1.438 GB, free: 54.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.334e-05/2.018, allocations: 35.73 kB / 1.438 GB, free: 54.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/2.022, allocations: 0.5333 MB / 1.439 GB, free: 54.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/2.022, allocations: 99.25 kB / 1.439 GB, free: 54.46 MB / 0.9167 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 (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 (230): * Single equations (assignments): 226 * 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.002595/2.025, allocations: 1.123 MB / 1.44 GB, free: 54.27 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009733/2.026, allocations: 365.2 kB / 1.44 GB, free: 54.07 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005787/2.031, allocations: 2.614 MB / 1.443 GB, free: 53.86 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/2.031, allocations: 13.89 kB / 1.443 GB, free: 53.86 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/2.031, allocations: 2.062 kB / 1.443 GB, free: 53.86 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004488/2.036, allocations: 2.216 MB / 1.445 GB, free: 53.34 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 postOpt removeSimpleEquations (simulation): time 0.01659/2.053, allocations: 7.077 MB / 1.452 GB, free: 52.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/2.053, allocations: 11.06 kB / 1.452 GB, free: 52.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/2.054, allocations: 375 kB / 1.452 GB, free: 52.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000278/2.055, allocations: 56.39 kB / 1.452 GB, free: 52.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/2.055, allocations: 45.58 kB / 1.452 GB, free: 52.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009994/2.056, allocations: 1.443 MB / 1.454 GB, free: 50.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/2.056, allocations: 17.34 kB / 1.454 GB, free: 50.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008259/2.064, allocations: 3.881 MB / 1.458 GB, free: 50.18 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001981/2.066, allocations: 0.674 MB / 1.458 GB, free: 49.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000677/2.067, allocations: 40.61 kB / 1.458 GB, free: 49.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003128/2.07, allocations: 447.8 kB / 1.459 GB, free: 49.83 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/2.07, allocations: 115.5 kB / 1.459 GB, free: 49.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/2.07, allocations: 72.8 kB / 1.459 GB, free: 49.82 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004481/2.075, allocations: 2.558 MB / 1.461 GB, free: 49.63 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.61e-07/2.075, allocations: 0 / 1.461 GB, free: 49.63 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006246/2.081, allocations: 1.986 MB / 1.463 GB, free: 49.32 MB / 0.9167 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 (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.00103/2.082, allocations: 482.2 kB / 1.464 GB, free: 49.18 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009133/2.091, allocations: 4.092 MB / 1.468 GB, free: 48.94 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/2.091, allocations: 3.25 kB / 1.468 GB, free: 48.94 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002552/2.094, allocations: 1.18 MB / 1.469 GB, free: 48.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01403/2.108, allocations: 2.042 MB / 1.471 GB, free: 48.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/2.124, allocations: 9.624 MB / 1.48 GB, free: 44.15 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/2.126, allocations: 2.65 MB / 1.483 GB, free: 43.32 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/2.128, allocations: 312.9 kB / 1.483 GB, free: 43.32 MB / 0.9167 GB Notification: Performance of SimCode: time 9.22e-07/2.128, allocations: 4 kB / 1.483 GB, free: 43.31 MB / 0.9167 GB Notification: Performance of Templates: time 0.09813/2.226, allocations: 76.55 MB / 1.558 GB, free: 3.312 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (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)