Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_latest_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.00158/0.00158, 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.001821/0.001821, allocations: 192.3 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.383/1.383, 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.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 65.2 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2284, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7917/1.02, allocations: 342.9 MB / 1.388 GB, free: 12.35 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04915/1.069, allocations: 38.37 MB / 1.425 GB, free: 2.789 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005063/1.074, allocations: 140.9 kB / 1.425 GB, free: 2.742 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0115/1.086, allocations: 5.613 MB / 1.431 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01423/1.1, allocations: 5.816 MB / 1.437 GB, free: 10.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007308/1.108, allocations: 3.053 MB / 1.44 GB, free: 8.363 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01388/1.121, allocations: 11.34 MB / 1.451 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00585/1.127, allocations: 4.188 MB / 1.455 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009435/1.137, allocations: 4.881 MB / 1.459 GB, free: 6.691 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004969/1.142, allocations: 2.73 MB / 1.462 GB, free: 3.965 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009233/1.143, allocations: 376 kB / 1.462 GB, free: 3.598 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00999/1.153, allocations: 5.301 MB / 1.468 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001691/1.154, allocations: 1.398 MB / 1.469 GB, free: 12.88 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003401/1.158, allocations: 2.255 MB / 1.471 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009736/1.168, allocations: 7.572 MB / 1.479 GB, free: 3.023 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/1.168, allocations: 0 / 1.479 GB, free: 3.023 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.112e-06/1.168, allocations: 3.938 kB / 1.479 GB, free: 3.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.397e-05/1.168, allocations: 0 / 1.479 GB, free: 3.02 MB / 1.076 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.007824/1.175, allocations: 4.77 MB / 1.483 GB, free: 14.16 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/1.175, allocations: 8.625 kB / 1.483 GB, free: 14.15 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004574/1.176, allocations: 370.5 kB / 1.484 GB, free: 13.78 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009892/1.186, allocations: 1.482 MB / 1.485 GB, free: 12.29 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006424/1.192, allocations: 3.745 MB / 1.489 GB, free: 8.477 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001236/1.194, allocations: 457.9 kB / 1.489 GB, free: 8.008 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/1.194, allocations: 252 kB / 1.489 GB, free: 7.762 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006508/1.2, allocations: 3.389 MB / 1.493 GB, free: 4.262 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.196e-05/1.2, allocations: 4 kB / 1.493 GB, free: 4.258 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002831/1.201, allocations: 104 kB / 1.493 GB, free: 4.156 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.974e-05/1.201, allocations: 108.8 kB / 1.493 GB, free: 4.047 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007208/1.208, allocations: 3.005 MB / 1.496 GB, free: 1.027 MB / 1.092 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.0209/1.229, allocations: 14.76 MB / 1.51 GB, free: 1.18 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003915/1.233, allocations: 1.588 MB / 1.512 GB, free: 15.55 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/1.235, allocations: 0.696 MB / 1.513 GB, free: 14.86 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004145/1.235, allocations: 300.3 kB / 1.513 GB, free: 14.51 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001943/1.237, allocations: 0.8059 MB / 1.514 GB, free: 13.68 MB / 1.123 GB Notification: Performance of pre-optimization done (n=103): time 2.726e-06/1.237, allocations: 0 / 1.514 GB, free: 13.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=103): time 0.006126/1.243, allocations: 2.197 MB / 1.516 GB, free: 11.45 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/1.243, allocations: 111.8 kB / 1.516 GB, free: 11.32 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004746/1.248, allocations: 3.213 MB / 1.519 GB, free: 8.113 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/1.248, allocations: 49.7 kB / 1.519 GB, free: 8.059 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00146/1.25, allocations: 1.719 MB / 1.521 GB, free: 6.32 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/1.25, allocations: 374.9 kB / 1.521 GB, free: 5.949 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007355/1.251, allocations: 463.4 kB / 1.521 GB, free: 5.488 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.251, allocations: 309.1 kB / 1.522 GB, free: 5.184 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/1.253, allocations: 0.9579 MB / 1.523 GB, free: 4.223 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/1.257, allocations: 1.727 MB / 1.524 GB, free: 2.148 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004903/1.262, allocations: 2.533 MB / 1.527 GB, free: 15.3 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/1.262, allocations: 7.938 kB / 1.527 GB, free: 15.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006785/1.268, allocations: 2.972 MB / 1.53 GB, free: 12.31 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/1.268, allocations: 41.7 kB / 1.53 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/1.268, allocations: 20 kB / 1.53 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.401e-05/1.269, allocations: 40.58 kB / 1.53 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/1.271, allocations: 0.5266 MB / 1.53 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.664e-05/1.271, allocations: 43.86 kB / 1.53 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/1.274, allocations: 438.3 kB / 1.531 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/1.274, allocations: 95.98 kB / 1.531 GB, free: 11.11 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003565/1.278, allocations: 1.761 MB / 1.533 GB, free: 9.344 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003066/1.281, allocations: 1.727 MB / 1.534 GB, free: 7.277 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004858/1.286, allocations: 2.529 MB / 1.537 GB, free: 4.438 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.594e-05/1.286, allocations: 11.94 kB / 1.537 GB, free: 4.426 MB / 1.139 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.007485/1.293, allocations: 2.976 MB / 1.54 GB, free: 1.434 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/1.293, allocations: 37.7 kB / 1.54 GB, free: 1.391 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/1.293, allocations: 24 kB / 1.54 GB, free: 1.367 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.925e-05/1.293, allocations: 32.66 kB / 1.54 GB, free: 1.336 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/1.296, allocations: 0.5226 MB / 1.54 GB, free: 0.8125 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-05/1.296, allocations: 51.8 kB / 1.54 GB, free: 0.7617 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/1.299, allocations: 375.5 kB / 1.541 GB, free: 404 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/1.299, allocations: 104 kB / 1.541 GB, free: 300 kB / 1.139 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.0004092/1.3, allocations: 315.6 kB / 1.541 GB, free: 15.97 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/1.3, allocations: 308.1 kB / 1.541 GB, free: 15.67 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004253/1.304, allocations: 1.683 MB / 1.543 GB, free: 13.97 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/1.304, allocations: 12 kB / 1.543 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.304, allocations: 0 / 1.543 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003355/1.308, allocations: 1.309 MB / 1.544 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0086/1.316, allocations: 4.556 MB / 1.549 GB, free: 7.891 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.316, allocations: 8.031 kB / 1.549 GB, free: 7.883 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.318, allocations: 239.7 kB / 1.549 GB, free: 7.648 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002246/1.318, allocations: 52.83 kB / 1.549 GB, free: 7.594 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.125e-05/1.318, allocations: 31.98 kB / 1.549 GB, free: 7.562 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/1.32, allocations: 1.551 MB / 1.551 GB, free: 5.871 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/1.32, allocations: 19.94 kB / 1.551 GB, free: 5.852 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005674/1.325, allocations: 2.515 MB / 1.553 GB, free: 3.234 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009478/1.326, allocations: 0.5554 MB / 1.554 GB, free: 2.656 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/1.327, allocations: 27.94 kB / 1.554 GB, free: 2.629 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/1.329, allocations: 155.9 kB / 1.554 GB, free: 2.477 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/1.329, allocations: 88.44 kB / 1.554 GB, free: 2.387 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/1.329, allocations: 51.97 kB / 1.554 GB, free: 2.336 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003452/1.333, allocations: 2.164 MB / 1.556 GB, free: 192 kB / 1.154 GB Notification: Performance of sort global known variables: time 2.7e-07/1.333, allocations: 0 / 1.556 GB, free: 192 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.003859/1.336, allocations: 1.691 MB / 1.558 GB, free: 14.49 MB / 1.17 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.007099/1.343, allocations: 3.565 MB / 1.561 GB, free: 10.82 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008295/1.352, allocations: 3.574 MB / 1.565 GB, free: 7.234 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.352, allocations: 5.312 kB / 1.565 GB, free: 7.23 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/1.354, allocations: 0.8159 MB / 1.566 GB, free: 6.398 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006394/1.36, allocations: 1.503 MB / 1.567 GB, free: 4.926 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04222/1.403, allocations: 26.84 MB / 1.593 GB, free: 7.789 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/1.405, allocations: 2.303 MB / 1.595 GB, free: 5.457 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.003653/1.408, allocations: 0.9033 MB / 1.596 GB, free: 4.547 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001801/1.41, allocations: 1.44 MB / 1.598 GB, free: 3.105 MB / 1.201 GB Notification: Performance of SimCode: time 3.71e-07/1.41, allocations: 0 / 1.598 GB, free: 3.105 MB / 1.201 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).