Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001614/0.001614, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.226/1.226, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.492/1.492, allocations: 292.3 MB / 0.5486 GB, free: 13.63 MB / 462.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.001215/0.001215, allocations: 70.8 kB / 0.6711 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1574, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.6387/0.7961, allocations: 338.7 MB / 1.114 GB, free: 420 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0471/0.8432, allocations: 38.82 MB / 1.152 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004071/0.8473, allocations: 123.2 kB / 1.152 GB, free: 9.367 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.004595/0.852, allocations: 2.08 MB / 1.154 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.8626, allocations: 5.386 MB / 1.159 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005322/0.8679, allocations: 2.793 MB / 1.162 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007329/0.8752, allocations: 8.533 MB / 1.17 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003828/0.8791, allocations: 4.115 MB / 1.174 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007401/0.8865, allocations: 4.947 MB / 1.179 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003682/0.8902, allocations: 2.858 MB / 1.182 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000443/0.8906, allocations: 376 kB / 1.182 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007406/0.898, allocations: 5.374 MB / 1.187 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009998/0.8991, allocations: 1.27 MB / 1.189 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.9008, allocations: 2.08 MB / 1.191 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007369/0.9081, allocations: 7.37 MB / 1.198 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9082, allocations: 0 / 1.198 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.153e-06/0.9082, allocations: 0 / 1.198 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.016e-05/0.9082, allocations: 0 / 1.198 GB, free: 10.02 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.007355/0.9156, allocations: 4.375 MB / 1.202 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.9157, allocations: 8.031 kB / 1.202 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003911/0.9161, allocations: 370.4 kB / 1.202 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00736/0.9234, allocations: 1.369 MB / 1.204 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/0.9279, allocations: 2.715 MB / 1.206 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009491/0.9289, allocations: 461.9 kB / 1.207 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003307/0.9292, allocations: 260 kB / 1.207 GB, free: 300 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005525/0.9347, allocations: 3.362 MB / 1.21 GB, free: 12.83 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/0.9348, allocations: 3.938 kB / 1.21 GB, free: 12.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.935, allocations: 108 kB / 1.211 GB, free: 12.72 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.924e-05/0.9351, allocations: 108.9 kB / 1.211 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005748/0.9409, allocations: 3.002 MB / 1.214 GB, free: 9.594 MB / 0.92 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.01694/0.9578, allocations: 14.04 MB / 1.227 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.9608, allocations: 1.604 MB / 1.229 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.9621, allocations: 0.6953 MB / 1.23 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003548/0.9625, allocations: 300.3 kB / 1.23 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/0.9641, allocations: 0.8333 MB / 1.231 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007138/0.9648, allocations: 114.6 kB / 1.231 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=106): time 2.394e-06/0.9648, allocations: 0 / 1.231 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of matching and sorting (n=106): time 0.004764/0.9696, allocations: 2.155 MB / 1.233 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.9697, allocations: 123.7 kB / 1.233 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.9726, allocations: 2.508 MB / 1.235 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.9728, allocations: 53.7 kB / 1.235 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.9739, allocations: 1.584 MB / 1.237 GB, free: 308 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.9742, allocations: 378.6 kB / 1.237 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005033/0.9747, allocations: 375.1 kB / 1.238 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.9748, allocations: 309.1 kB / 1.238 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.9765, allocations: 0.7855 MB / 1.239 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.9788, allocations: 1.535 MB / 1.24 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003479/0.9823, allocations: 2.208 MB / 1.242 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.9823, allocations: 8 kB / 1.242 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.00471/0.987, allocations: 2.511 MB / 1.245 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.9871, allocations: 41.7 kB / 1.245 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.9871, allocations: 20 kB / 1.245 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/0.9871, allocations: 32 kB / 1.245 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.9889, allocations: 479.5 kB / 1.245 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.696e-05/0.989, allocations: 47.84 kB / 1.245 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.9916, allocations: 447.4 kB / 1.246 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.9918, allocations: 95.97 kB / 1.246 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002556/0.9943, allocations: 1.464 MB / 1.247 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002086/0.9964, allocations: 1.519 MB / 1.249 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003303/0.9998, allocations: 2.183 MB / 1.251 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.937e-06/0.9998, allocations: 8 kB / 1.251 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.004504/1.004, allocations: 2.476 MB / 1.253 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/1.004, allocations: 41.7 kB / 1.253 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/1.004, allocations: 23.98 kB / 1.254 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.004, allocations: 32 kB / 1.254 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.006, allocations: 483.5 kB / 1.254 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.703e-05/1.006, allocations: 39.86 kB / 1.254 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/1.009, allocations: 404 kB / 1.254 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/1.009, allocations: 95.91 kB / 1.255 GB, free: 12.99 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (218): * Single equations (assignments): 215 * Array equations: 2 * 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.0003138/1.009, allocations: 307.4 kB / 1.255 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/1.009, allocations: 272.6 kB / 1.255 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/1.013, allocations: 1.671 MB / 1.257 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/1.013, allocations: 12 kB / 1.257 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.013, allocations: 0 / 1.257 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002525/1.015, allocations: 1.301 MB / 1.258 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006572/1.022, allocations: 4.356 MB / 1.262 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/1.022, allocations: 4 kB / 1.262 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.023, allocations: 247.6 kB / 1.262 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/1.023, allocations: 56.75 kB / 1.263 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/1.023, allocations: 35.98 kB / 1.263 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/1.024, allocations: 1.539 MB / 1.264 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.024, allocations: 4 kB / 1.264 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004372/1.029, allocations: 2.558 MB / 1.267 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007439/1.029, allocations: 485.8 kB / 1.267 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/1.03, allocations: 24 kB / 1.267 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.032, allocations: 246.6 kB / 1.267 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/1.032, allocations: 88.44 kB / 1.267 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/1.032, allocations: 47.97 kB / 1.267 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002239/1.034, allocations: 1.699 MB / 1.269 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.034, allocations: 0 / 1.269 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003394/1.037, allocations: 1.569 MB / 1.271 GB, free: 12.01 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (105): * Single equations (assignments): 102 * 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.005202/1.043, allocations: 3.445 MB / 1.274 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006052/1.049, allocations: 3.106 MB / 1.277 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.049, allocations: 1.812 kB / 1.277 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/1.05, allocations: 0.8235 MB / 1.278 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/1.055, allocations: 1.256 MB / 1.279 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2997/1.354, allocations: 23.71 MB / 1.302 GB, free: 390.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/1.355, allocations: 2.125 MB / 1.304 GB, free: 390 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003001/1.359, allocations: 0.7615 MB / 1.305 GB, free: 390 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.36, allocations: 1.27 MB / 1.306 GB, free: 390 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.36, allocations: 0 / 1.306 GB, free: 390 MB / 0.9981 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).