Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_11_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.001394/0.001394, 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.001303/0.001303, 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.468/2.468, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 74 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2379, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.6971/0.935, allocations: 342.9 MB / 1.399 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04382/0.9788, allocations: 38.38 MB / 1.436 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003624/0.9825, allocations: 136.5 kB / 1.437 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.009349/0.9919, allocations: 5.619 MB / 1.442 GB, free: 2.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01184/1.004, allocations: 5.813 MB / 1.448 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00587/1.01, allocations: 3.044 MB / 1.451 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01239/1.022, allocations: 11.35 MB / 1.462 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005253/1.027, allocations: 4.195 MB / 1.466 GB, free: 12.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008484/1.036, allocations: 4.869 MB / 1.471 GB, free: 7.637 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004606/1.04, allocations: 2.75 MB / 1.473 GB, free: 4.891 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007923/1.041, allocations: 379.9 kB / 1.474 GB, free: 4.52 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008861/1.05, allocations: 5.301 MB / 1.479 GB, free: 15.21 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001412/1.051, allocations: 1.387 MB / 1.48 GB, free: 13.82 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002535/1.054, allocations: 2.255 MB / 1.482 GB, free: 11.55 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008547/1.063, allocations: 7.572 MB / 1.49 GB, free: 3.957 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.063, allocations: 3.984 kB / 1.49 GB, free: 3.953 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.072e-06/1.063, allocations: 0 / 1.49 GB, free: 3.953 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.213e-05/1.063, allocations: 0 / 1.49 GB, free: 3.953 MB / 1.092 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.007014/1.07, allocations: 4.768 MB / 1.494 GB, free: 15.09 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/1.07, allocations: 12.03 kB / 1.494 GB, free: 15.07 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004124/1.07, allocations: 354.5 kB / 1.495 GB, free: 14.72 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007574/1.078, allocations: 1.497 MB / 1.496 GB, free: 13.21 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005773/1.083, allocations: 3.737 MB / 1.5 GB, free: 9.41 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001043/1.085, allocations: 461.9 kB / 1.5 GB, free: 8.938 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003467/1.085, allocations: 256 kB / 1.501 GB, free: 8.688 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005795/1.091, allocations: 3.385 MB / 1.504 GB, free: 5.195 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/1.091, allocations: 0 / 1.504 GB, free: 5.195 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/1.091, allocations: 108 kB / 1.504 GB, free: 5.09 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/1.091, allocations: 112.8 kB / 1.504 GB, free: 4.977 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006396/1.098, allocations: 3.013 MB / 1.507 GB, free: 1.949 MB / 1.107 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.01882/1.116, allocations: 14.74 MB / 1.521 GB, free: 2.117 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003346/1.12, allocations: 1.581 MB / 1.523 GB, free: 0.4922 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/1.121, allocations: 0.6921 MB / 1.524 GB, free: 15.8 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000383/1.122, allocations: 304.2 kB / 1.524 GB, free: 15.45 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/1.123, allocations: 0.8137 MB / 1.525 GB, free: 14.61 MB / 1.139 GB Notification: Performance of pre-optimization done (n=103): time 2.194e-06/1.123, allocations: 4 kB / 1.525 GB, free: 14.61 MB / 1.139 GB Notification: Performance of matching and sorting (n=103): time 0.005311/1.129, allocations: 2.189 MB / 1.527 GB, free: 12.39 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/1.129, allocations: 115.8 kB / 1.527 GB, free: 12.25 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004043/1.133, allocations: 3.206 MB / 1.53 GB, free: 9.055 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/1.133, allocations: 49.7 kB / 1.53 GB, free: 9 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00137/1.134, allocations: 1.719 MB / 1.532 GB, free: 7.262 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/1.135, allocations: 370.9 kB / 1.532 GB, free: 6.895 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006324/1.135, allocations: 479.3 kB / 1.533 GB, free: 6.418 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.135, allocations: 317 kB / 1.533 GB, free: 6.105 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/1.137, allocations: 0.954 MB / 1.534 GB, free: 5.148 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/1.14, allocations: 1.731 MB / 1.536 GB, free: 3.07 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/1.145, allocations: 2.524 MB / 1.538 GB, free: 248 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.145, allocations: 8 kB / 1.538 GB, free: 240 kB / 1.139 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005713/1.15, allocations: 2.972 MB / 1.541 GB, free: 13.24 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/1.15, allocations: 41.7 kB / 1.541 GB, free: 13.19 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/1.15, allocations: 20 kB / 1.541 GB, free: 13.17 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.846e-05/1.15, allocations: 32.66 kB / 1.541 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/1.152, allocations: 0.5265 MB / 1.542 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-05/1.152, allocations: 55.61 kB / 1.542 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/1.155, allocations: 438.2 kB / 1.542 GB, free: 12.13 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/1.155, allocations: 99.97 kB / 1.542 GB, free: 12.04 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003135/1.158, allocations: 1.757 MB / 1.544 GB, free: 10.27 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00275/1.161, allocations: 1.727 MB / 1.546 GB, free: 8.199 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004224/1.165, allocations: 2.53 MB / 1.548 GB, free: 5.371 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-05/1.165, allocations: 8 kB / 1.548 GB, free: 5.363 MB / 1.154 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.005673/1.171, allocations: 2.973 MB / 1.551 GB, free: 2.367 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/1.171, allocations: 51.25 kB / 1.551 GB, free: 2.312 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/1.171, allocations: 20 kB / 1.551 GB, free: 2.293 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/1.171, allocations: 32.66 kB / 1.551 GB, free: 2.262 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/1.173, allocations: 0.5188 MB / 1.552 GB, free: 1.742 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.716e-05/1.173, allocations: 47.8 kB / 1.552 GB, free: 1.695 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/1.175, allocations: 371.3 kB / 1.552 GB, free: 1.332 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/1.176, allocations: 104 kB / 1.552 GB, free: 1.23 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (247): * Single equations (assignments): 243 * 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.0003485/1.176, allocations: 319.4 kB / 1.552 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000377/1.176, allocations: 312 kB / 1.553 GB, free: 0.6016 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003658/1.18, allocations: 1.68 MB / 1.554 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.18, allocations: 8 kB / 1.554 GB, free: 14.9 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.18, allocations: 4 kB / 1.554 GB, free: 14.9 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002861/1.183, allocations: 1.305 MB / 1.556 GB, free: 13.56 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007421/1.19, allocations: 4.568 MB / 1.56 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.19, allocations: 12 kB / 1.56 GB, free: 8.805 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.192, allocations: 239.7 kB / 1.56 GB, free: 8.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001879/1.192, allocations: 56.83 kB / 1.56 GB, free: 8.512 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/1.192, allocations: 27.98 kB / 1.56 GB, free: 8.484 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/1.193, allocations: 1.543 MB / 1.562 GB, free: 6.797 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.193, allocations: 8 kB / 1.562 GB, free: 6.789 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00482/1.198, allocations: 2.519 MB / 1.564 GB, free: 4.164 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000788/1.199, allocations: 0.5515 MB / 1.565 GB, free: 3.59 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/1.199, allocations: 31.98 kB / 1.565 GB, free: 3.559 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.201, allocations: 159.8 kB / 1.565 GB, free: 3.402 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/1.201, allocations: 88.38 kB / 1.565 GB, free: 3.316 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.63e-05/1.201, allocations: 51.97 kB / 1.565 GB, free: 3.266 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002942/1.204, allocations: 2.164 MB / 1.567 GB, free: 1.117 MB / 1.17 GB Notification: Performance of sort global known variables: time 2e-07/1.204, allocations: 4 kB / 1.567 GB, free: 1.113 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003321/1.207, allocations: 1.687 MB / 1.569 GB, free: 15.42 MB / 1.186 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.006096/1.213, allocations: 3.544 MB / 1.572 GB, free: 11.77 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007157/1.221, allocations: 3.588 MB / 1.576 GB, free: 8.168 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.221, allocations: 0 / 1.576 GB, free: 8.168 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.222, allocations: 0.8161 MB / 1.577 GB, free: 7.344 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/1.227, allocations: 1.5 MB / 1.578 GB, free: 5.871 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03684/1.264, allocations: 26.82 MB / 1.604 GB, free: 8.734 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001963/1.266, allocations: 2.307 MB / 1.607 GB, free: 6.398 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.003328/1.27, allocations: 0.8994 MB / 1.608 GB, free: 5.492 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/1.271, allocations: 1.44 MB / 1.609 GB, free: 4.051 MB / 1.217 GB Notification: Performance of SimCode: time 6.41e-07/1.271, allocations: 3.938 kB / 1.609 GB, free: 4.047 MB / 1.217 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).