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.001178/0.001178, 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.0009903/0.0009904, allocations: 193.7 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.164/1.164, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.8543/0.8543, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 60.09 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1285, allocations: 82.04 MB / 0.5944 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7983/0.9268, allocations: 343.4 MB / 0.9298 GB, free: 16.63 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0385/0.9654, allocations: 38.52 MB / 0.9674 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00441/0.9698, allocations: 135.8 kB / 0.9675 GB, free: 15.7 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.009429/0.9793, allocations: 5.635 MB / 0.973 GB, free: 14.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.9917, allocations: 5.801 MB / 0.9787 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006931/0.9986, allocations: 3.072 MB / 0.9817 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01217/1.011, allocations: 11.36 MB / 0.9928 GB, free: 3.055 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005039/1.016, allocations: 4.205 MB / 0.9969 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009955/1.026, allocations: 4.88 MB / 1.002 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005253/1.031, allocations: 2.761 MB / 1.004 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008702/1.032, allocations: 376 kB / 1.005 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/1.043, allocations: 5.302 MB / 1.01 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001887/1.044, allocations: 1.398 MB / 1.011 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003143/1.048, allocations: 2.269 MB / 1.013 GB, free: 64 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/1.06, allocations: 7.924 MB / 1.021 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.06, allocations: 0 / 1.021 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.333e-06/1.06, allocations: 0 / 1.021 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000128/1.06, allocations: 0 / 1.021 GB, free: 8.492 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.008407/1.068, allocations: 4.804 MB / 1.026 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/1.068, allocations: 8.031 kB / 1.026 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004173/1.069, allocations: 365.2 kB / 1.026 GB, free: 3.281 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008224/1.077, allocations: 1.489 MB / 1.028 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006223/1.083, allocations: 3.711 MB / 1.031 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001071/1.084, allocations: 450.2 kB / 1.032 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004769/1.085, allocations: 265.8 kB / 1.032 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00595/1.091, allocations: 3.406 MB / 1.035 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.162e-05/1.091, allocations: 3.094 kB / 1.035 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/1.091, allocations: 107.9 kB / 1.035 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.735e-05/1.091, allocations: 100.9 kB / 1.036 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006418/1.098, allocations: 3.032 MB / 1.038 GB, free: 6.688 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.01974/1.117, allocations: 14.82 MB / 1.053 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/1.121, allocations: 1.605 MB / 1.055 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/1.122, allocations: 0.7006 MB / 1.055 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/1.123, allocations: 295.3 kB / 1.055 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001726/1.124, allocations: 0.8239 MB / 1.056 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=103): time 2.234e-06/1.124, allocations: 0 / 1.056 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=103): time 0.005713/1.13, allocations: 2.223 MB / 1.058 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/1.13, allocations: 111.8 kB / 1.059 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004769/1.135, allocations: 3.248 MB / 1.062 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/1.135, allocations: 49.7 kB / 1.062 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001324/1.136, allocations: 1.729 MB / 1.063 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/1.137, allocations: 380.1 kB / 1.064 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006416/1.137, allocations: 475.4 kB / 1.064 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 7.736e-05/1.138, allocations: 305.1 kB / 1.065 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/1.14, allocations: 0.9737 MB / 1.066 GB, free: 10 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/1.142, allocations: 1.754 MB / 1.067 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004188/1.147, allocations: 2.557 MB / 1.07 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/1.147, allocations: 8 kB / 1.07 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005993/1.153, allocations: 3.011 MB / 1.073 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/1.153, allocations: 45.83 kB / 1.073 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/1.153, allocations: 20 kB / 1.073 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.274e-05/1.153, allocations: 39.94 kB / 1.073 GB, free: 2.113 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002026/1.155, allocations: 0.5293 MB / 1.073 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.206e-05/1.155, allocations: 43.83 kB / 1.073 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/1.158, allocations: 442.1 kB / 1.074 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/1.158, allocations: 107.9 kB / 1.074 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003355/1.161, allocations: 1.777 MB / 1.076 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002645/1.164, allocations: 1.748 MB / 1.077 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004194/1.168, allocations: 2.554 MB / 1.08 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.356e-05/1.168, allocations: 9.016 kB / 1.08 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005995/1.174, allocations: 3.011 MB / 1.083 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/1.174, allocations: 41.7 kB / 1.083 GB, free: 7.449 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/1.174, allocations: 24 kB / 1.083 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/1.174, allocations: 35.94 kB / 1.083 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/1.176, allocations: 0.5323 MB / 1.083 GB, free: 6.891 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.517e-05/1.176, allocations: 45.17 kB / 1.083 GB, free: 6.855 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/1.179, allocations: 376.9 kB / 1.084 GB, free: 6.488 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/1.18, allocations: 95.98 kB / 1.084 GB, free: 6.395 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.0004703/1.18, allocations: 321 kB / 1.084 GB, free: 6.105 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006126/1.181, allocations: 316 kB / 1.084 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/1.185, allocations: 1.698 MB / 1.086 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.185, allocations: 8 kB / 1.086 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.185, allocations: 4 kB / 1.086 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00289/1.188, allocations: 1.331 MB / 1.087 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008261/1.196, allocations: 4.608 MB / 1.092 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.196, allocations: 8.5 kB / 1.092 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.197, allocations: 253.1 kB / 1.092 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001918/1.197, allocations: 48.83 kB / 1.092 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-05/1.197, allocations: 39.98 kB / 1.092 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/1.198, allocations: 1.537 MB / 1.094 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.198, allocations: 10.62 kB / 1.094 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005035/1.203, allocations: 2.562 MB / 1.096 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.205, allocations: 0.5556 MB / 1.097 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004864/1.205, allocations: 31.98 kB / 1.097 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/1.207, allocations: 147.9 kB / 1.097 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.207, allocations: 102.4 kB / 1.097 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.207, allocations: 47.97 kB / 1.097 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003488/1.211, allocations: 2.191 MB / 1.099 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/1.211, allocations: 0 / 1.099 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005073/1.216, allocations: 1.698 MB / 1.101 GB, free: 4.559 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.006997/1.223, allocations: 3.586 MB / 1.104 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007794/1.231, allocations: 3.628 MB / 1.108 GB, free: 13.43 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.231, allocations: 0 / 1.108 GB, free: 13.43 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/1.233, allocations: 0.8326 MB / 1.109 GB, free: 12.61 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006295/1.239, allocations: 1.517 MB / 1.11 GB, free: 11.15 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04063/1.28, allocations: 27.16 MB / 1.137 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/1.282, allocations: 2.319 MB / 1.139 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003654/1.286, allocations: 0.8918 MB / 1.14 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/1.287, allocations: 1.452 MB / 1.141 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of SimCode: time 7.42e-07/1.287, allocations: 3.938 kB / 1.141 GB, free: 9.016 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).