Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",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.001638/0.001638, 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.001978/0.001977, allocations: 195 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9905/0.9905, allocations: 143 MB / 433.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1293, allocations: 82.04 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8271/0.9564, allocations: 380.8 MB / 0.9663 GB, free: 15.8 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0448/1.001, allocations: 46.71 MB / 1.012 GB, free: 2.188 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005711/1.007, allocations: 174.9 kB / 1.012 GB, free: 2.074 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99: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/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/Conversion/InletToAir.mo:80:3-83: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.01498/1.022, allocations: 8.613 MB / 1.02 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01719/1.039, allocations: 7.334 MB / 1.028 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008688/1.048, allocations: 3.842 MB / 1.031 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02057/1.069, allocations: 17.16 MB / 1.048 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007846/1.076, allocations: 5.595 MB / 1.054 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01175/1.088, allocations: 6.297 MB / 1.06 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006194/1.094, allocations: 3.719 MB / 1.063 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001351/1.096, allocations: 0.4961 MB / 1.064 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/1.108, allocations: 6.336 MB / 1.07 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002502/1.11, allocations: 2.001 MB / 1.072 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0051/1.115, allocations: 3.147 MB / 1.075 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01462/1.13, allocations: 10.69 MB / 1.086 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/1.13, allocations: 0 / 1.086 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.112e-06/1.13, allocations: 0 / 1.086 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002602/1.13, allocations: 0 / 1.086 GB, free: 14.26 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.01345/1.144, allocations: 6.486 MB / 1.092 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/1.144, allocations: 12.03 kB / 1.092 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000975/1.145, allocations: 471.6 kB / 1.092 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/1.157, allocations: 2.012 MB / 1.094 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/1.168, allocations: 5.559 MB / 1.1 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001596/1.169, allocations: 0.5991 MB / 1.1 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009624/1.17, allocations: 346.8 kB / 1.101 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/1.181, allocations: 4.56 MB / 1.105 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.532e-05/1.181, allocations: 3.938 kB / 1.105 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000567/1.182, allocations: 146.6 kB / 1.105 GB, free: 9.918 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/1.182, allocations: 130.5 kB / 1.105 GB, free: 9.789 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/1.192, allocations: 4.038 MB / 1.109 GB, free: 5.742 MB / 0.7637 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.02985/1.222, allocations: 19.88 MB / 1.129 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00462/1.227, allocations: 1.804 MB / 1.13 GB, free: 14.78 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/1.229, allocations: 0.9389 MB / 1.131 GB, free: 13.84 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006514/1.23, allocations: 408.7 kB / 1.132 GB, free: 13.37 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002724/1.232, allocations: 1.099 MB / 1.133 GB, free: 12.25 MB / 0.795 GB Notification: Performance of pre-optimization done (n=127): time 5.39e-06/1.232, allocations: 0 / 1.133 GB, free: 12.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=127): time 0.009214/1.242, allocations: 2.992 MB / 1.136 GB, free: 9.223 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/1.242, allocations: 145.5 kB / 1.136 GB, free: 9.051 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00823/1.25, allocations: 4.722 MB / 1.141 GB, free: 4.344 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003233/1.25, allocations: 57.7 kB / 1.141 GB, free: 4.281 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002318/1.253, allocations: 2.452 MB / 1.143 GB, free: 1.828 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000519/1.253, allocations: 466.3 kB / 1.143 GB, free: 1.375 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/1.254, allocations: 0.6883 MB / 1.144 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.254, allocations: 305.1 kB / 1.144 GB, free: 388 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003456/1.258, allocations: 1.444 MB / 1.146 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004308/1.262, allocations: 2.576 MB / 1.148 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006959/1.269, allocations: 3.779 MB / 1.152 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/1.269, allocations: 8 kB / 1.152 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=423) (initialization): time 0.009697/1.279, allocations: 4.387 MB / 1.156 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/1.279, allocations: 53.69 kB / 1.156 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.903e-05/1.279, allocations: 36.55 kB / 1.156 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.187e-05/1.279, allocations: 48.81 kB / 1.156 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/1.282, allocations: 0.7449 MB / 1.157 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.956e-05/1.282, allocations: 75.72 kB / 1.157 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/1.286, allocations: 0.5791 MB / 1.158 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/1.287, allocations: 142.6 kB / 1.158 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2374/1.524, allocations: 2.595 MB / 1.16 GB, free: 335.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00358/1.528, allocations: 2.576 MB / 1.163 GB, free: 334.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00565/1.533, allocations: 3.777 MB / 1.167 GB, free: 332.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.512e-05/1.533, allocations: 11.62 kB / 1.167 GB, free: 332.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=423) (initialization_lambda0): time 0.008283/1.542, allocations: 4.394 MB / 1.171 GB, free: 332.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/1.542, allocations: 46.8 kB / 1.171 GB, free: 332.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/1.542, allocations: 33.75 kB / 1.171 GB, free: 332.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/1.542, allocations: 51.88 kB / 1.171 GB, free: 332.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/1.545, allocations: 0.7453 MB / 1.172 GB, free: 332.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-05/1.545, allocations: 69.05 kB / 1.172 GB, free: 332.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/1.549, allocations: 0.4922 MB / 1.172 GB, free: 332.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.549, allocations: 146.2 kB / 1.173 GB, free: 332.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 151 * 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 (355): * Single equations (assignments): 349 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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.0005012/1.549, allocations: 368.7 kB / 1.173 GB, free: 331.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005275/1.55, allocations: 437.3 kB / 1.173 GB, free: 331.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005347/1.555, allocations: 2.367 MB / 1.176 GB, free: 331 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.555, allocations: 20.97 kB / 1.176 GB, free: 331 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.555, allocations: 2.781 kB / 1.176 GB, free: 331 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004163/1.56, allocations: 1.957 MB / 1.178 GB, free: 330.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/1.57, allocations: 6.814 MB / 1.184 GB, free: 327.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.57, allocations: 7.938 kB / 1.184 GB, free: 327.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/1.572, allocations: 335.1 kB / 1.185 GB, free: 327.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/1.572, allocations: 53.81 kB / 1.185 GB, free: 327.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/1.572, allocations: 48.78 kB / 1.185 GB, free: 327.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008819/1.573, allocations: 1.547 MB / 1.186 GB, free: 325.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/1.573, allocations: 17.7 kB / 1.186 GB, free: 325.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007394/1.581, allocations: 3.457 MB / 1.19 GB, free: 324 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/1.582, allocations: 0.7446 MB / 1.19 GB, free: 323.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005121/1.582, allocations: 39.66 kB / 1.19 GB, free: 323.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002607/1.585, allocations: 210.1 kB / 1.19 GB, free: 323.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/1.585, allocations: 126.4 kB / 1.191 GB, free: 323.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.585, allocations: 64.48 kB / 1.191 GB, free: 323.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004677/1.59, allocations: 3.176 MB / 1.194 GB, free: 322.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/1.59, allocations: 0 / 1.194 GB, free: 322.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005837/1.596, allocations: 2.307 MB / 1.196 GB, free: 322 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (125): * Single equations (assignments): 122 * 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.008567/1.605, allocations: 4.555 MB / 1.2 GB, free: 319.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01099/1.616, allocations: 5.184 MB / 1.206 GB, free: 318.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.616, allocations: 5.844 kB / 1.206 GB, free: 318.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002582/1.618, allocations: 1.075 MB / 1.207 GB, free: 317.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008423/1.627, allocations: 2.158 MB / 1.209 GB, free: 317.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05306/1.68, allocations: 41.28 MB / 1.249 GB, free: 291.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002466/1.682, allocations: 3.032 MB / 1.252 GB, free: 288.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005509/1.688, allocations: 1.314 MB / 1.253 GB, free: 287.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/1.69, allocations: 2.106 MB / 1.255 GB, free: 286 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/1.69, allocations: 4 kB / 1.255 GB, free: 286 MB / 0.8106 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).