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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001897/0.001897, allocations: 108 kB / 15.6 MB, free: 132 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.0022/0.0022, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.049/1.049, allocations: 143.3 MB / 433.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 0.5145 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.158, allocations: 82.03 MB / 0.5946 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.907/1.065, allocations: 380.8 MB / 0.9665 GB, free: 15.76 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04499/1.11, allocations: 46.71 MB / 1.012 GB, free: 2.02 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006262/1.116, allocations: 177.7 kB / 1.012 GB, free: 1.902 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/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.01634/1.133, allocations: 8.602 MB / 1.021 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01998/1.153, allocations: 7.341 MB / 1.028 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.009745/1.163, allocations: 3.838 MB / 1.032 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02514/1.188, allocations: 17.16 MB / 1.048 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008595/1.196, allocations: 5.592 MB / 1.054 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0132/1.209, allocations: 6.306 MB / 1.06 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006925/1.216, allocations: 3.725 MB / 1.064 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001166/1.218, allocations: 0.4961 MB / 1.064 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01325/1.231, allocations: 6.337 MB / 1.07 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002459/1.233, allocations: 2 MB / 1.072 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00437/1.238, allocations: 3.143 MB / 1.075 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01659/1.254, allocations: 10.68 MB / 1.086 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.254, allocations: 0 / 1.086 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.924e-06/1.254, allocations: 0 / 1.086 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001741/1.255, allocations: 0 / 1.086 GB, free: 14.04 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.01313/1.268, allocations: 6.495 MB / 1.092 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.268, allocations: 8.031 kB / 1.092 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006655/1.268, allocations: 472.1 kB / 1.093 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/1.281, allocations: 2.016 MB / 1.095 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/1.291, allocations: 5.567 MB / 1.1 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001634/1.293, allocations: 0.5953 MB / 1.101 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006287/1.293, allocations: 346.8 kB / 1.101 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009702/1.303, allocations: 4.559 MB / 1.105 GB, free: 9.832 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6e-05/1.303, allocations: 7.938 kB / 1.105 GB, free: 9.824 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003761/1.303, allocations: 139.6 kB / 1.105 GB, free: 9.691 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/1.304, allocations: 142.5 kB / 1.106 GB, free: 9.551 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/1.314, allocations: 4.042 MB / 1.11 GB, free: 5.5 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.03271/1.347, allocations: 19.87 MB / 1.129 GB, free: 400 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/1.352, allocations: 1.802 MB / 1.131 GB, free: 14.54 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002569/1.354, allocations: 0.9407 MB / 1.132 GB, free: 13.6 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007307/1.355, allocations: 411.1 kB / 1.132 GB, free: 13.13 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002893/1.358, allocations: 1.088 MB / 1.133 GB, free: 12.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=127): time 3.367e-06/1.358, allocations: 3.938 kB / 1.133 GB, free: 12.01 MB / 0.795 GB Notification: Performance of matching and sorting (n=127): time 0.009384/1.367, allocations: 2.988 MB / 1.136 GB, free: 8.996 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.367, allocations: 145.5 kB / 1.136 GB, free: 8.824 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007544/1.375, allocations: 4.722 MB / 1.141 GB, free: 4.117 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002464/1.375, allocations: 61.69 kB / 1.141 GB, free: 4.051 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00255/1.378, allocations: 2.448 MB / 1.143 GB, free: 1.602 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005454/1.378, allocations: 477.3 kB / 1.144 GB, free: 1.141 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/1.379, allocations: 0.6898 MB / 1.144 GB, free: 452 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.379, allocations: 305.1 kB / 1.145 GB, free: 144 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/1.383, allocations: 1.428 MB / 1.146 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004783/1.388, allocations: 2.582 MB / 1.149 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007641/1.396, allocations: 3.779 MB / 1.152 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/1.396, allocations: 12 kB / 1.152 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01031/1.406, allocations: 4.387 MB / 1.157 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/1.406, allocations: 49.86 kB / 1.157 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.169e-05/1.406, allocations: 32 kB / 1.157 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.56e-05/1.406, allocations: 48 kB / 1.157 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/1.409, allocations: 0.7527 MB / 1.157 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.282e-05/1.409, allocations: 72.27 kB / 1.157 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004294/1.414, allocations: 0.5752 MB / 1.158 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002562/1.414, allocations: 152 kB / 1.158 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2546/1.669, allocations: 2.589 MB / 1.161 GB, free: 335.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003909/1.673, allocations: 2.582 MB / 1.163 GB, free: 334.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005918/1.679, allocations: 3.774 MB / 1.167 GB, free: 333.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.352e-05/1.679, allocations: 10.56 kB / 1.167 GB, free: 333.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=423) (initialization_lambda0): time 0.008776/1.687, allocations: 4.389 MB / 1.171 GB, free: 332.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/1.687, allocations: 52.83 kB / 1.171 GB, free: 332.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/1.687, allocations: 32.88 kB / 1.171 GB, free: 332.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.743e-05/1.687, allocations: 48.28 kB / 1.171 GB, free: 332.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/1.69, allocations: 0.7474 MB / 1.172 GB, free: 332.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.335e-05/1.69, allocations: 68.75 kB / 1.172 GB, free: 332.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004186/1.695, allocations: 0.4915 MB / 1.173 GB, free: 332.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/1.695, allocations: 147.4 kB / 1.173 GB, free: 332.6 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.0005084/1.695, allocations: 366.8 kB / 1.173 GB, free: 332.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005569/1.696, allocations: 441.8 kB / 1.174 GB, free: 332.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005409/1.701, allocations: 2.364 MB / 1.176 GB, free: 331.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.701, allocations: 19.31 kB / 1.176 GB, free: 331.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.701, allocations: 0 / 1.176 GB, free: 331.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004195/1.705, allocations: 1.961 MB / 1.178 GB, free: 330.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/1.717, allocations: 6.808 MB / 1.184 GB, free: 327.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.717, allocations: 10.59 kB / 1.184 GB, free: 327.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.719, allocations: 337.4 kB / 1.185 GB, free: 327.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/1.719, allocations: 54.84 kB / 1.185 GB, free: 327.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.719, allocations: 53.47 kB / 1.185 GB, free: 327.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008904/1.72, allocations: 1.545 MB / 1.186 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/1.72, allocations: 15.5 kB / 1.186 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007685/1.727, allocations: 3.461 MB / 1.19 GB, free: 324.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/1.729, allocations: 0.7429 MB / 1.19 GB, free: 324 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005603/1.729, allocations: 34.84 kB / 1.191 GB, free: 324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002651/1.732, allocations: 215.8 kB / 1.191 GB, free: 324 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/1.732, allocations: 118.3 kB / 1.191 GB, free: 323.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/1.732, allocations: 68.92 kB / 1.191 GB, free: 323.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004894/1.737, allocations: 3.174 MB / 1.194 GB, free: 322.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.3e-07/1.737, allocations: 0 / 1.194 GB, free: 322.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005822/1.743, allocations: 2.313 MB / 1.196 GB, free: 322.5 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.008648/1.752, allocations: 4.544 MB / 1.201 GB, free: 320.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.763, allocations: 5.191 MB / 1.206 GB, free: 318.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/1.763, allocations: 5.312 kB / 1.206 GB, free: 318.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002678/1.766, allocations: 1.079 MB / 1.207 GB, free: 318.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008983/1.775, allocations: 2.154 MB / 1.209 GB, free: 317.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05907/1.834, allocations: 41.29 MB / 1.249 GB, free: 292.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/1.836, allocations: 3.036 MB / 1.252 GB, free: 289.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005765/1.842, allocations: 1.305 MB / 1.253 GB, free: 288.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002414/1.844, allocations: 2.104 MB / 1.256 GB, free: 286.9 MB / 0.8106 GB Notification: Performance of SimCode: time 7.62e-07/1.844, allocations: 0 / 1.256 GB, free: 286.9 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).