Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_9_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.001453/0.001453, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.109/2.109, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4696, allocations: 140.4 MB / 0.949 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.6843/1.154, allocations: 340.5 MB / 1.282 GB, free: 17.58 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03128/1.185, allocations: 36.78 MB / 1.317 GB, free: 17.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003089/1.188, allocations: 122.3 kB / 1.318 GB, free: 17.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003833/1.192, allocations: 1.982 MB / 1.32 GB, free: 17.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009892/1.202, allocations: 5.403 MB / 1.325 GB, free: 16.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005239/1.207, allocations: 2.737 MB / 1.327 GB, free: 16.76 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008947/1.216, allocations: 11.38 MB / 1.339 GB, free: 16.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003665/1.22, allocations: 3.611 MB / 1.342 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007192/1.227, allocations: 4.371 MB / 1.346 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003732/1.231, allocations: 2.76 MB / 1.349 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003594/1.231, allocations: 194 kB / 1.349 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007864/1.239, allocations: 5.785 MB / 1.355 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008859/1.24, allocations: 1.099 MB / 1.356 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001688/1.242, allocations: 1.887 MB / 1.358 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006582/1.248, allocations: 7.196 MB / 1.365 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.248, allocations: 4 kB / 1.365 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.51e-07/1.248, allocations: 0 / 1.365 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.797e-05/1.249, allocations: 0 / 1.365 GB, free: 12.31 MB / 0.9981 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.005829/1.254, allocations: 4.381 MB / 1.369 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.254, allocations: 10.59 kB / 1.369 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003374/1.255, allocations: 362.1 kB / 1.369 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007828/1.263, allocations: 1.462 MB / 1.371 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004744/1.267, allocations: 2.755 MB / 1.374 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008923/1.268, allocations: 455 kB / 1.374 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003316/1.269, allocations: 255.6 kB / 1.374 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005211/1.274, allocations: 3.394 MB / 1.378 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/1.274, allocations: 2.938 kB / 1.378 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/1.274, allocations: 102.8 kB / 1.378 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/1.274, allocations: 107.7 kB / 1.378 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005349/1.279, allocations: 3.051 MB / 1.381 GB, free: 5.355 MB / 0.9981 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.01626/1.296, allocations: 14.1 MB / 1.395 GB, free: 7.871 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/1.299, allocations: 1.65 MB / 1.396 GB, free: 6.184 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/1.3, allocations: 0.7226 MB / 1.397 GB, free: 5.461 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003627/1.301, allocations: 302.5 kB / 1.397 GB, free: 5.117 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/1.302, allocations: 0.8518 MB / 1.398 GB, free: 4.254 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007459/1.303, allocations: 118.6 kB / 1.398 GB, free: 4.137 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 2.535e-06/1.303, allocations: 0 / 1.398 GB, free: 4.137 MB / 1.014 GB Notification: Performance of matching and sorting (n=106): time 0.004936/1.308, allocations: 2.224 MB / 1.4 GB, free: 1.902 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/1.308, allocations: 119.8 kB / 1.4 GB, free: 1.762 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003017/1.311, allocations: 2.511 MB / 1.403 GB, free: 15.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/1.311, allocations: 49.7 kB / 1.403 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.312, allocations: 1.596 MB / 1.404 GB, free: 13.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/1.313, allocations: 374.9 kB / 1.405 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000503/1.313, allocations: 367.1 kB / 1.405 GB, free: 12.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.204e-05/1.313, allocations: 305.1 kB / 1.405 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/1.315, allocations: 0.805 MB / 1.406 GB, free: 11.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/1.317, allocations: 1.516 MB / 1.408 GB, free: 9.914 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00357/1.321, allocations: 2.235 MB / 1.41 GB, free: 7.473 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/1.321, allocations: 11.94 kB / 1.41 GB, free: 7.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004763/1.326, allocations: 2.537 MB / 1.412 GB, free: 5.035 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/1.326, allocations: 40.48 kB / 1.412 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/1.326, allocations: 24 kB / 1.412 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.718e-05/1.326, allocations: 32 kB / 1.412 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/1.328, allocations: 491.5 kB / 1.413 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/1.328, allocations: 44.83 kB / 1.413 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/1.33, allocations: 471.7 kB / 1.413 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/1.331, allocations: 91.97 kB / 1.414 GB, free: 3.898 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00266/1.333, allocations: 1.484 MB / 1.415 GB, free: 2.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002219/1.335, allocations: 1.501 MB / 1.416 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003483/1.339, allocations: 2.208 MB / 1.419 GB, free: 14.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.786e-06/1.339, allocations: 8 kB / 1.419 GB, free: 14.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=218) (initialization_lambda0): time 0.004634/1.344, allocations: 2.506 MB / 1.421 GB, free: 11.78 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/1.344, allocations: 45.69 kB / 1.421 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/1.344, allocations: 20 kB / 1.421 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.344, allocations: 32 kB / 1.421 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/1.345, allocations: 490.4 kB / 1.422 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/1.345, allocations: 40.89 kB / 1.422 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/1.348, allocations: 431.9 kB / 1.422 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/1.348, allocations: 91.97 kB / 1.422 GB, free: 10.69 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * 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 (215): * Single equations (assignments): 212 * 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.000319/1.349, allocations: 300.2 kB / 1.422 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/1.349, allocations: 264.7 kB / 1.423 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/1.352, allocations: 1.724 MB / 1.424 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/1.352, allocations: 16 kB / 1.424 GB, free: 8.398 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.352, allocations: 0 / 1.424 GB, free: 8.398 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002698/1.355, allocations: 1.357 MB / 1.426 GB, free: 7.012 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007295/1.362, allocations: 4.508 MB / 1.43 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.362, allocations: 12.16 kB / 1.43 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.364, allocations: 247.8 kB / 1.43 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/1.364, allocations: 56.81 kB / 1.43 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.733e-05/1.364, allocations: 31.98 kB / 1.43 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/1.365, allocations: 1.429 MB / 1.432 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.365, allocations: 10.72 kB / 1.432 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/1.37, allocations: 2.553 MB / 1.434 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006795/1.37, allocations: 485.5 kB / 1.435 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/1.371, allocations: 35.98 kB / 1.435 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/1.372, allocations: 239.6 kB / 1.435 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.373, allocations: 98.28 kB / 1.435 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.373, allocations: 51.97 kB / 1.435 GB, free: 12.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002228/1.375, allocations: 1.711 MB / 1.437 GB, free: 11.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.71e-07/1.375, allocations: 0 / 1.437 GB, free: 11.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003514/1.379, allocations: 1.573 MB / 1.438 GB, free: 9.668 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (105): * Single equations (assignments): 102 * 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.005517/1.384, allocations: 3.447 MB / 1.442 GB, free: 6.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005832/1.39, allocations: 2.989 MB / 1.445 GB, free: 3.297 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.39, allocations: 4 kB / 1.445 GB, free: 3.293 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.392, allocations: 0.8365 MB / 1.446 GB, free: 2.473 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004304/1.396, allocations: 1.198 MB / 1.447 GB, free: 1.281 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03536/1.431, allocations: 23.9 MB / 1.47 GB, free: 7.52 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/1.433, allocations: 2.123 MB / 1.472 GB, free: 5.359 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002959/1.436, allocations: 0.7637 MB / 1.473 GB, free: 4.59 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/1.437, allocations: 1.272 MB / 1.474 GB, free: 3.316 MB / 1.092 GB Notification: Performance of SimCode: time 3.71e-07/1.437, allocations: 4 kB / 1.474 GB, free: 3.312 MB / 1.092 GB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).