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.001554/0.001554, allocations: 108 kB / 15.61 MB, free: 152 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.002006/0.002006, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.392/1.392, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.835/1.835, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001489/0.001489, allocations: 69.91 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2141, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7489/0.963, allocations: 342.5 MB / 1.118 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.05105/1.014, allocations: 39.04 MB / 1.156 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005019/1.019, allocations: 131.2 kB / 1.156 GB, free: 9.281 MB / 0.8731 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.006477/1.026, allocations: 2.334 MB / 1.159 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01659/1.042, allocations: 5.744 MB / 1.164 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.009111/1.051, allocations: 3.034 MB / 1.167 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01389/1.065, allocations: 8.525 MB / 1.175 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006234/1.072, allocations: 4.179 MB / 1.179 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009826/1.082, allocations: 4.908 MB / 1.184 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005326/1.087, allocations: 2.698 MB / 1.187 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001034/1.088, allocations: 372 kB / 1.187 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/1.099, allocations: 5.122 MB / 1.192 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00231/1.101, allocations: 1.266 MB / 1.194 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003886/1.105, allocations: 2.084 MB / 1.196 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01385/1.119, allocations: 7.023 MB / 1.202 GB, free: 9.824 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.119, allocations: 0 / 1.202 GB, free: 9.824 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.339e-06/1.119, allocations: 0 / 1.202 GB, free: 9.824 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001582/1.119, allocations: 3.938 kB / 1.202 GB, free: 9.82 MB / 0.92 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.01051/1.129, allocations: 4.364 MB / 1.207 GB, free: 5.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/1.13, allocations: 12.03 kB / 1.207 GB, free: 5.359 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006221/1.13, allocations: 358.4 kB / 1.207 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008283/1.138, allocations: 1.373 MB / 1.208 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006342/1.145, allocations: 2.712 MB / 1.211 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/1.146, allocations: 453.9 kB / 1.211 GB, free: 380 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006704/1.147, allocations: 263.9 kB / 1.212 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007331/1.154, allocations: 3.356 MB / 1.215 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.237e-05/1.154, allocations: 7.938 kB / 1.215 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/1.154, allocations: 108 kB / 1.215 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/1.155, allocations: 104.9 kB / 1.215 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00735/1.162, allocations: 2.982 MB / 1.218 GB, free: 9.434 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 preOpt removeSimpleEquations (simulation): time 0.02631/1.188, allocations: 14.38 MB / 1.232 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003697/1.192, allocations: 1.579 MB / 1.234 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/1.194, allocations: 0.6914 MB / 1.234 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004667/1.194, allocations: 304.3 kB / 1.235 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001969/1.196, allocations: 0.8098 MB / 1.235 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=104): time 3.527e-06/1.196, allocations: 0 / 1.235 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=104): time 0.006716/1.203, allocations: 2.143 MB / 1.238 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/1.203, allocations: 119.8 kB / 1.238 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005612/1.209, allocations: 2.622 MB / 1.24 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002929/1.209, allocations: 57.69 kB / 1.24 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001664/1.211, allocations: 1.573 MB / 1.242 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005035/1.211, allocations: 374.7 kB / 1.242 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007946/1.212, allocations: 375.1 kB / 1.243 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.212, allocations: 301.1 kB / 1.243 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/1.214, allocations: 0.7893 MB / 1.244 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/1.217, allocations: 1.528 MB / 1.245 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004455/1.222, allocations: 2.204 MB / 1.247 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/1.222, allocations: 4 kB / 1.247 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006452/1.228, allocations: 2.503 MB / 1.25 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.169e-05/1.228, allocations: 45.69 kB / 1.25 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.893e-05/1.228, allocations: 20.62 kB / 1.25 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-05/1.228, allocations: 36 kB / 1.25 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/1.231, allocations: 479.3 kB / 1.25 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.652e-05/1.231, allocations: 51.73 kB / 1.25 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/1.234, allocations: 394.3 kB / 1.251 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002265/1.234, allocations: 87.98 kB / 1.251 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003474/1.238, allocations: 1.46 MB / 1.252 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002911/1.24, allocations: 1.532 MB / 1.254 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004746/1.245, allocations: 2.167 MB / 1.256 GB, free: 228 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-05/1.245, allocations: 8 kB / 1.256 GB, free: 220 kB / 0.9669 GB Notification: Performance of matching and sorting (n=219) (initialization_lambda0): time 0.006735/1.252, allocations: 2.473 MB / 1.258 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.804e-05/1.252, allocations: 45.7 kB / 1.258 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/1.252, allocations: 20 kB / 1.258 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.01e-05/1.252, allocations: 32.62 kB / 1.258 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/1.254, allocations: 483.2 kB / 1.259 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-05/1.254, allocations: 39.86 kB / 1.259 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/1.258, allocations: 347.1 kB / 1.259 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/1.258, allocations: 95.97 kB / 1.259 GB, free: 12.68 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (216): * Single equations (assignments): 213 * 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.0005605/1.258, allocations: 298.9 kB / 1.259 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007209/1.259, allocations: 272.6 kB / 1.26 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/1.263, allocations: 1.664 MB / 1.261 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.264, allocations: 8 kB / 1.261 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.264, allocations: 4 kB / 1.261 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003029/1.267, allocations: 1.294 MB / 1.263 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/1.277, allocations: 4.296 MB / 1.267 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.277, allocations: 8.094 kB / 1.267 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/1.278, allocations: 239.7 kB / 1.267 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002649/1.279, allocations: 60.7 kB / 1.267 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/1.279, allocations: 27.98 kB / 1.267 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/1.28, allocations: 1.543 MB / 1.269 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/1.28, allocations: 15.88 kB / 1.269 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005625/1.286, allocations: 2.525 MB / 1.271 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/1.287, allocations: 0.4973 MB / 1.272 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005764/1.288, allocations: 31.98 kB / 1.272 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/1.29, allocations: 143.8 kB / 1.272 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/1.29, allocations: 84.42 kB / 1.272 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.29, allocations: 47.97 kB / 1.272 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003521/1.294, allocations: 1.783 MB / 1.274 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.294, allocations: 4 kB / 1.274 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004514/1.298, allocations: 1.523 MB / 1.275 GB, free: 11.84 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (103): * Single equations (assignments): 100 * 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.006824/1.305, allocations: 3.408 MB / 1.278 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007915/1.313, allocations: 3.076 MB / 1.281 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/1.313, allocations: 4.75 kB / 1.281 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/1.315, allocations: 0.804 MB / 1.282 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008132/1.323, allocations: 1.304 MB / 1.284 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3957/1.719, allocations: 23.14 MB / 1.306 GB, free: 385.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/1.722, allocations: 2.121 MB / 1.308 GB, free: 384.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004351/1.726, allocations: 0.7713 MB / 1.309 GB, free: 384.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001762/1.728, allocations: 1.256 MB / 1.31 GB, free: 383.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.728, allocations: 0 / 1.31 GB, free: 383.6 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).