Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 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.ThermalZoneHVACNoExhaust,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001067/0.001067, 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.001209/0.001209, allocations: 190.5 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.9617/0.9617, allocations: 143.1 MB / 433.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1377, allocations: 82.03 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8573/0.9951, allocations: 343.4 MB / 0.9298 GB, free: 16.63 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03635/1.031, allocations: 38.52 MB / 0.9674 GB, free: 15.71 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003819/1.035, allocations: 135.8 kB / 0.9675 GB, free: 15.71 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.009994/1.045, allocations: 5.636 MB / 0.973 GB, free: 14.44 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01362/1.059, allocations: 5.81 MB / 0.9787 GB, free: 12.22 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006029/1.065, allocations: 3.054 MB / 0.9817 GB, free: 10.39 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01084/1.076, allocations: 11.36 MB / 0.9928 GB, free: 3.078 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0049/1.081, allocations: 4.208 MB / 0.9969 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009035/1.09, allocations: 4.888 MB / 1.002 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004643/1.095, allocations: 2.751 MB / 1.004 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000894/1.095, allocations: 383.9 kB / 1.005 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00979/1.105, allocations: 5.302 MB / 1.01 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00177/1.107, allocations: 1.398 MB / 1.011 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004564/1.112, allocations: 2.265 MB / 1.013 GB, free: 84 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01375/1.125, allocations: 7.923 MB / 1.021 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.125, allocations: 3.984 kB / 1.021 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.693e-06/1.125, allocations: 3.938 kB / 1.021 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000236/1.126, allocations: 0 / 1.021 GB, free: 8.504 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.009794/1.135, allocations: 4.799 MB / 1.026 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/1.135, allocations: 8.031 kB / 1.026 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005756/1.136, allocations: 362.5 kB / 1.026 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008705/1.145, allocations: 1.491 MB / 1.028 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006784/1.152, allocations: 3.709 MB / 1.031 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001171/1.153, allocations: 460.9 kB / 1.032 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005042/1.153, allocations: 260 kB / 1.032 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006944/1.16, allocations: 3.394 MB / 1.035 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/1.16, allocations: 10.28 kB / 1.035 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/1.161, allocations: 104 kB / 1.035 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/1.161, allocations: 108.9 kB / 1.036 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007322/1.168, allocations: 3.03 MB / 1.038 GB, free: 6.707 MB / 0.7169 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.02182/1.19, allocations: 14.81 MB / 1.053 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003618/1.193, allocations: 1.604 MB / 1.055 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/1.195, allocations: 0.7006 MB / 1.055 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003823/1.196, allocations: 299.9 kB / 1.056 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/1.197, allocations: 0.8246 MB / 1.056 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=103): time 2.635e-06/1.197, allocations: 0 / 1.056 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=103): time 0.005867/1.203, allocations: 2.227 MB / 1.058 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/1.203, allocations: 111.8 kB / 1.059 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004585/1.208, allocations: 3.242 MB / 1.062 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/1.208, allocations: 51.73 kB / 1.062 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/1.209, allocations: 1.733 MB / 1.063 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/1.21, allocations: 369.3 kB / 1.064 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006549/1.21, allocations: 478.6 kB / 1.064 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.69e-05/1.21, allocations: 309.1 kB / 1.065 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/1.213, allocations: 0.9764 MB / 1.066 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/1.216, allocations: 1.753 MB / 1.067 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00437/1.22, allocations: 2.549 MB / 1.07 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/1.22, allocations: 8 kB / 1.07 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006151/1.226, allocations: 3.015 MB / 1.073 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/1.226, allocations: 45.69 kB / 1.073 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.137e-05/1.226, allocations: 23.94 kB / 1.073 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.978e-05/1.226, allocations: 36.05 kB / 1.073 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/1.228, allocations: 0.5413 MB / 1.073 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.282e-05/1.228, allocations: 44.33 kB / 1.073 GB, free: 1.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/1.231, allocations: 435.7 kB / 1.074 GB, free: 1.164 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/1.232, allocations: 104 kB / 1.074 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003342/1.235, allocations: 1.785 MB / 1.076 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002781/1.238, allocations: 1.742 MB / 1.077 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004334/1.242, allocations: 2.563 MB / 1.08 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.268e-05/1.242, allocations: 8 kB / 1.08 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.006046/1.248, allocations: 3.003 MB / 1.083 GB, free: 7.508 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/1.248, allocations: 45.69 kB / 1.083 GB, free: 7.457 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/1.248, allocations: 24 kB / 1.083 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/1.248, allocations: 32 kB / 1.083 GB, free: 7.402 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/1.25, allocations: 0.5278 MB / 1.083 GB, free: 6.906 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-05/1.25, allocations: 50.47 kB / 1.083 GB, free: 6.867 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/1.253, allocations: 369.6 kB / 1.084 GB, free: 6.508 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/1.253, allocations: 106.9 kB / 1.084 GB, free: 6.406 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (250): * Single equations (assignments): 246 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003816/1.254, allocations: 320.3 kB / 1.084 GB, free: 6.121 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006231/1.254, allocations: 312 kB / 1.084 GB, free: 5.812 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003994/1.258, allocations: 1.707 MB / 1.086 GB, free: 4.086 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.258, allocations: 8 kB / 1.086 GB, free: 4.078 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.258, allocations: 0 / 1.086 GB, free: 4.078 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003066/1.261, allocations: 1.324 MB / 1.087 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008312/1.27, allocations: 4.615 MB / 1.092 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.959e-05/1.27, allocations: 8 kB / 1.092 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/1.271, allocations: 243.3 kB / 1.092 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/1.271, allocations: 55.3 kB / 1.092 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.434e-05/1.271, allocations: 39.98 kB / 1.092 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/1.273, allocations: 1.54 MB / 1.094 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.273, allocations: 14.8 kB / 1.094 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005226/1.278, allocations: 2.55 MB / 1.096 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009885/1.279, allocations: 0.5554 MB / 1.097 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/1.279, allocations: 27.98 kB / 1.097 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.281, allocations: 159.9 kB / 1.097 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/1.281, allocations: 91.84 kB / 1.097 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/1.282, allocations: 51.97 kB / 1.097 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003277/1.285, allocations: 2.187 MB / 1.099 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.91e-07/1.285, allocations: 4 kB / 1.099 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003772/1.289, allocations: 1.698 MB / 1.101 GB, free: 4.582 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (102): * Single equations (assignments): 99 * 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.006773/1.295, allocations: 3.59 MB / 1.104 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008164/1.304, allocations: 3.633 MB / 1.108 GB, free: 13.44 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/1.304, allocations: 4 kB / 1.108 GB, free: 13.44 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/1.306, allocations: 0.8261 MB / 1.109 GB, free: 12.63 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006342/1.312, allocations: 1.506 MB / 1.11 GB, free: 11.18 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04252/1.354, allocations: 27.16 MB / 1.137 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/1.357, allocations: 2.327 MB / 1.139 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003767/1.36, allocations: 0.8957 MB / 1.14 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/1.362, allocations: 1.448 MB / 1.141 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/1.362, allocations: 0 / 1.141 GB, free: 9.059 MB / 0.8262 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).