Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_10_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.001459/0.001459, 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.00127/0.00127, allocations: 193.9 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.488/2.488, allocations: 437.1 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 59.91 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5045, allocations: 151.6 MB / 1.017 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7638/1.268, allocations: 342.9 MB / 1.352 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03771/1.306, allocations: 38.37 MB / 1.39 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003979/1.31, allocations: 139 kB / 1.39 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009974/1.32, allocations: 5.609 MB / 1.395 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01259/1.333, allocations: 5.804 MB / 1.401 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00668/1.339, allocations: 3.055 MB / 1.404 GB, free: 9.371 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01244/1.352, allocations: 11.34 MB / 1.415 GB, free: 4.938 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005487/1.357, allocations: 4.194 MB / 1.419 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009149/1.367, allocations: 4.883 MB / 1.424 GB, free: 340 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004953/1.371, allocations: 2.736 MB / 1.427 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0009212/1.372, allocations: 376 kB / 1.427 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/1.383, allocations: 5.299 MB / 1.432 GB, free: 9.129 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001651/1.384, allocations: 1.396 MB / 1.434 GB, free: 7.742 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003516/1.388, allocations: 2.252 MB / 1.436 GB, free: 5.496 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/1.398, allocations: 7.571 MB / 1.443 GB, free: 14.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/1.398, allocations: 4 kB / 1.443 GB, free: 14.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.052e-06/1.398, allocations: 0 / 1.443 GB, free: 14.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.124e-05/1.398, allocations: 4 kB / 1.443 GB, free: 14.22 MB / 1.045 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.00767/1.406, allocations: 4.767 MB / 1.448 GB, free: 9.406 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.406, allocations: 19.92 kB / 1.448 GB, free: 9.387 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00042/1.406, allocations: 364.6 kB / 1.448 GB, free: 9.023 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008817/1.415, allocations: 1.488 MB / 1.45 GB, free: 7.535 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006489/1.422, allocations: 3.736 MB / 1.453 GB, free: 3.801 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001174/1.423, allocations: 452.6 kB / 1.454 GB, free: 3.34 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003719/1.423, allocations: 256 kB / 1.454 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00628/1.43, allocations: 3.394 MB / 1.457 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/1.43, allocations: 0 / 1.457 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/1.43, allocations: 110.3 kB / 1.457 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.404e-05/1.43, allocations: 104.8 kB / 1.457 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006982/1.437, allocations: 3.009 MB / 1.46 GB, free: 12.36 MB / 1.061 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.02056/1.458, allocations: 14.75 MB / 1.475 GB, free: 12.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/1.461, allocations: 1.59 MB / 1.476 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/1.463, allocations: 0.6948 MB / 1.477 GB, free: 10.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003921/1.463, allocations: 299 kB / 1.477 GB, free: 9.957 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001845/1.465, allocations: 0.8059 MB / 1.478 GB, free: 9.129 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 2.855e-06/1.465, allocations: 0 / 1.478 GB, free: 9.129 MB / 1.076 GB Notification: Performance of matching and sorting (n=103): time 0.005936/1.471, allocations: 2.193 MB / 1.48 GB, free: 6.906 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/1.471, allocations: 119.8 kB / 1.48 GB, free: 6.766 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004507/1.476, allocations: 3.206 MB / 1.483 GB, free: 3.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/1.476, allocations: 49.7 kB / 1.484 GB, free: 3.516 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001319/1.477, allocations: 1.725 MB / 1.485 GB, free: 1.785 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/1.478, allocations: 373.6 kB / 1.486 GB, free: 1.422 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006584/1.478, allocations: 471.2 kB / 1.486 GB, free: 0.957 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/1.478, allocations: 301.1 kB / 1.486 GB, free: 0.6602 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/1.481, allocations: 0.9667 MB / 1.487 GB, free: 15.69 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/1.484, allocations: 1.727 MB / 1.489 GB, free: 13.62 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004548/1.488, allocations: 2.529 MB / 1.491 GB, free: 10.79 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/1.488, allocations: 8 kB / 1.491 GB, free: 10.78 MB / 1.092 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00632/1.495, allocations: 2.97 MB / 1.494 GB, free: 7.797 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/1.495, allocations: 45.69 kB / 1.494 GB, free: 7.746 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/1.495, allocations: 24 kB / 1.494 GB, free: 7.723 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.853e-05/1.495, allocations: 32 kB / 1.494 GB, free: 7.691 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/1.497, allocations: 0.5191 MB / 1.495 GB, free: 7.172 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-05/1.497, allocations: 47.86 kB / 1.495 GB, free: 7.125 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/1.5, allocations: 429.7 kB / 1.495 GB, free: 6.703 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/1.5, allocations: 99.98 kB / 1.495 GB, free: 6.605 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003373/1.503, allocations: 1.765 MB / 1.497 GB, free: 4.832 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002853/1.506, allocations: 1.731 MB / 1.499 GB, free: 2.762 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004501/1.511, allocations: 2.523 MB / 1.501 GB, free: 15.92 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.396e-05/1.511, allocations: 4 kB / 1.501 GB, free: 15.92 MB / 1.107 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.00627/1.517, allocations: 2.976 MB / 1.504 GB, free: 12.93 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/1.517, allocations: 45.64 kB / 1.504 GB, free: 12.88 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/1.517, allocations: 20 kB / 1.504 GB, free: 12.86 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/1.517, allocations: 36 kB / 1.504 GB, free: 12.82 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/1.519, allocations: 0.5307 MB / 1.505 GB, free: 12.29 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.904e-05/1.519, allocations: 43.86 kB / 1.505 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/1.522, allocations: 367.3 kB / 1.505 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/1.523, allocations: 95.98 kB / 1.505 GB, free: 11.8 MB / 1.107 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.0003762/1.523, allocations: 311.6 kB / 1.506 GB, free: 11.48 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004296/1.523, allocations: 312.1 kB / 1.506 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/1.527, allocations: 1.695 MB / 1.508 GB, free: 9.465 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.528, allocations: 12 kB / 1.508 GB, free: 9.453 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.528, allocations: 0 / 1.508 GB, free: 9.453 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003152/1.531, allocations: 1.305 MB / 1.509 GB, free: 8.113 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008221/1.539, allocations: 4.554 MB / 1.513 GB, free: 3.41 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/1.539, allocations: 8 kB / 1.513 GB, free: 3.402 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.54, allocations: 248.2 kB / 1.514 GB, free: 3.16 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/1.54, allocations: 52.81 kB / 1.514 GB, free: 3.105 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.222e-05/1.541, allocations: 28 kB / 1.514 GB, free: 3.078 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/1.542, allocations: 1.546 MB / 1.515 GB, free: 1.398 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.542, allocations: 15.91 kB / 1.515 GB, free: 1.383 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005234/1.547, allocations: 2.527 MB / 1.518 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009173/1.548, allocations: 0.5515 MB / 1.518 GB, free: 14.17 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004104/1.548, allocations: 32 kB / 1.518 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.55, allocations: 151.9 kB / 1.518 GB, free: 13.99 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.551, allocations: 80.44 kB / 1.518 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.551, allocations: 51.97 kB / 1.518 GB, free: 13.86 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003234/1.554, allocations: 2.171 MB / 1.521 GB, free: 11.71 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/1.554, allocations: 0 / 1.521 GB, free: 11.71 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003747/1.558, allocations: 1.691 MB / 1.522 GB, free: 10.01 MB / 1.123 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.006584/1.564, allocations: 3.547 MB / 1.526 GB, free: 6.383 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007958/1.572, allocations: 3.588 MB / 1.529 GB, free: 2.785 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.572, allocations: 7.938 kB / 1.529 GB, free: 2.777 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/1.574, allocations: 0.8167 MB / 1.53 GB, free: 1.949 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005827/1.58, allocations: 1.499 MB / 1.531 GB, free: 500 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04036/1.62, allocations: 26.83 MB / 1.558 GB, free: 3.355 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002137/1.623, allocations: 2.307 MB / 1.56 GB, free: 1.02 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003851/1.626, allocations: 0.8995 MB / 1.561 GB, free: 116 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.628, allocations: 1.447 MB / 1.562 GB, free: 14.7 MB / 1.17 GB Notification: Performance of SimCode: time 8.32e-07/1.628, allocations: 0 / 1.562 GB, free: 14.7 MB / 1.17 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).