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.001334/0.001334, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001056/0.001056, allocations: 191.9 kB / 16.13 MB, free: 6.672 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.113/1.113, allocations: 205.1 MB / 222 MB, free: 4.77 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.462/1.462, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001345/0.001345, allocations: 70.47 kB / 0.6709 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1674, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.6007/0.7681, allocations: 340.6 MB / 1.115 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.04476/0.8129, allocations: 39.65 MB / 1.154 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003684/0.8166, allocations: 119.2 kB / 1.154 GB, free: 5.832 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.004773/0.8214, allocations: 1.982 MB / 1.156 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.8327, allocations: 5.375 MB / 1.161 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005784/0.8385, allocations: 2.743 MB / 1.164 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0107/0.8492, allocations: 11.36 MB / 1.175 GB, free: 340 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00418/0.8534, allocations: 3.611 MB / 1.179 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00779/0.8612, allocations: 4.366 MB / 1.183 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/0.8653, allocations: 2.753 MB / 1.186 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003957/0.8657, allocations: 196 kB / 1.186 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0091/0.8748, allocations: 5.783 MB / 1.191 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.8758, allocations: 1.094 MB / 1.193 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001897/0.8777, allocations: 1.889 MB / 1.194 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007994/0.8857, allocations: 7.202 MB / 1.201 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8857, allocations: 0 / 1.201 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.72e-07/0.8858, allocations: 0 / 1.201 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.4e-05/0.8858, allocations: 0 / 1.201 GB, free: 5.297 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.006918/0.8927, allocations: 4.377 MB / 1.206 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.8928, allocations: 11.97 kB / 1.206 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004181/0.8932, allocations: 362.4 kB / 1.206 GB, free: 472 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00781/0.901, allocations: 1.373 MB / 1.207 GB, free: 15.08 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004722/0.9057, allocations: 2.712 MB / 1.21 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/0.9068, allocations: 461.9 kB / 1.21 GB, free: 11.82 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003568/0.9071, allocations: 256 kB / 1.211 GB, free: 11.57 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005952/0.9131, allocations: 3.378 MB / 1.214 GB, free: 8.094 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/0.9131, allocations: 3.938 kB / 1.214 GB, free: 8.09 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/0.9134, allocations: 108 kB / 1.214 GB, free: 7.984 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.37e-05/0.9135, allocations: 108.9 kB / 1.214 GB, free: 7.875 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006367/0.9199, allocations: 2.994 MB / 1.217 GB, free: 4.867 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.01858/0.9385, allocations: 14.05 MB / 1.231 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003298/0.9418, allocations: 1.604 MB / 1.232 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.9433, allocations: 0.6953 MB / 1.233 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/0.9437, allocations: 300.2 kB / 1.233 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001727/0.9454, allocations: 0.8255 MB / 1.234 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007095/0.9461, allocations: 110.7 kB / 1.234 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=106): time 2.885e-06/0.9462, allocations: 0 / 1.234 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of matching and sorting (n=106): time 0.005261/0.9514, allocations: 2.155 MB / 1.236 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.9515, allocations: 119.7 kB / 1.237 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/0.9548, allocations: 2.512 MB / 1.239 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.9549, allocations: 53.7 kB / 1.239 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.9561, allocations: 1.588 MB / 1.241 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.9564, allocations: 382.6 kB / 1.241 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005668/0.957, allocations: 375.1 kB / 1.241 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.9571, allocations: 309.1 kB / 1.242 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/0.959, allocations: 0.7894 MB / 1.242 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.9614, allocations: 1.531 MB / 1.244 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/0.9653, allocations: 2.203 MB / 1.246 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.9653, allocations: 8 kB / 1.246 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.00514/0.9705, allocations: 2.507 MB / 1.248 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.9705, allocations: 41.7 kB / 1.249 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.9706, allocations: 20 kB / 1.249 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/0.9706, allocations: 32.44 kB / 1.249 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.9726, allocations: 483.3 kB / 1.249 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.891e-05/0.9726, allocations: 47.84 kB / 1.249 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/0.9754, allocations: 447.6 kB / 1.25 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.9756, allocations: 95.97 kB / 1.25 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002833/0.9785, allocations: 1.46 MB / 1.251 GB, free: 216 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002426/0.9809, allocations: 1.515 MB / 1.253 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003807/0.9847, allocations: 2.187 MB / 1.255 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.11e-05/0.9847, allocations: 8 kB / 1.255 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.005221/0.99, allocations: 2.479 MB / 1.257 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.99, allocations: 37.7 kB / 1.257 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/0.99, allocations: 20 kB / 1.257 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.9901, allocations: 32.44 kB / 1.257 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.992, allocations: 487.2 kB / 1.258 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-05/0.9921, allocations: 39.86 kB / 1.258 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/0.9948, allocations: 407.7 kB / 1.258 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.9949, allocations: 95.91 kB / 1.258 GB, free: 8.273 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.0003459/0.9953, allocations: 304 kB / 1.258 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.9956, allocations: 276.5 kB / 1.259 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/0.9993, allocations: 1.671 MB / 1.26 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.9993, allocations: 12 kB / 1.26 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9994, allocations: 0 / 1.26 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002874/1.002, allocations: 1.309 MB / 1.262 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007749/1.01, allocations: 4.446 MB / 1.266 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.01, allocations: 8 kB / 1.266 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/1.011, allocations: 243.9 kB / 1.266 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/1.012, allocations: 52.77 kB / 1.266 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-05/1.012, allocations: 31.98 kB / 1.266 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/1.013, allocations: 1.436 MB / 1.268 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.013, allocations: 11.94 kB / 1.268 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004858/1.018, allocations: 2.55 MB / 1.27 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/1.018, allocations: 481.5 kB / 1.271 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/1.019, allocations: 32 kB / 1.271 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/1.021, allocations: 238.5 kB / 1.271 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/1.021, allocations: 92.36 kB / 1.271 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.021, allocations: 51.97 kB / 1.271 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002401/1.023, allocations: 1.699 MB / 1.273 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.41e-07/1.023, allocations: 0 / 1.273 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003694/1.027, allocations: 1.573 MB / 1.274 GB, free: 7.285 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.005946/1.033, allocations: 3.448 MB / 1.278 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006113/1.039, allocations: 2.943 MB / 1.28 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.039, allocations: 1.625 kB / 1.28 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.041, allocations: 0.8275 MB / 1.281 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/1.046, allocations: 1.197 MB / 1.282 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3286/1.374, allocations: 23.7 MB / 1.306 GB, free: 389.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/1.376, allocations: 2.123 MB / 1.308 GB, free: 388.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003537/1.38, allocations: 0.7577 MB / 1.308 GB, free: 388.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.381, allocations: 1.269 MB / 1.31 GB, free: 387.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.381, allocations: 0 / 1.31 GB, free: 387.9 MB / 0.9981 GB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).