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.00164/0.00164, allocations: 108 kB / 15.61 MB, free: 152 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.001938/0.001938, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.333/1.333, 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 10.1.1-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.89 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.486, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7647/1.251, allocations: 342.9 MB / 1.352 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03853/1.289, allocations: 38.38 MB / 1.39 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004019/1.293, allocations: 140.1 kB / 1.39 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01014/1.303, allocations: 5.613 MB / 1.395 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01208/1.316, allocations: 5.799 MB / 1.401 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006373/1.322, allocations: 3.046 MB / 1.404 GB, free: 9.48 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01158/1.334, allocations: 11.34 MB / 1.415 GB, free: 5.043 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004358/1.338, allocations: 4.197 MB / 1.419 GB, free: 2.637 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00762/1.346, allocations: 4.873 MB / 1.424 GB, free: 412 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003549/1.349, allocations: 2.75 MB / 1.427 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005381/1.35, allocations: 372 kB / 1.427 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008932/1.359, allocations: 5.303 MB / 1.432 GB, free: 9.203 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/1.36, allocations: 1.388 MB / 1.434 GB, free: 7.824 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002172/1.362, allocations: 2.249 MB / 1.436 GB, free: 5.578 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008227/1.37, allocations: 7.571 MB / 1.443 GB, free: 14.31 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/1.37, allocations: 3.938 kB / 1.443 GB, free: 14.31 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.062e-06/1.37, allocations: 0 / 1.443 GB, free: 14.31 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.132e-05/1.37, allocations: 4 kB / 1.443 GB, free: 14.3 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.007247/1.378, allocations: 4.771 MB / 1.448 GB, free: 9.488 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/1.378, allocations: 11.98 kB / 1.448 GB, free: 9.477 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004223/1.378, allocations: 365.6 kB / 1.448 GB, free: 9.113 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008485/1.387, allocations: 1.5 MB / 1.45 GB, free: 7.609 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006047/1.393, allocations: 3.729 MB / 1.453 GB, free: 3.883 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001161/1.394, allocations: 460.7 kB / 1.454 GB, free: 3.414 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/1.394, allocations: 252 kB / 1.454 GB, free: 3.168 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006102/1.4, allocations: 3.386 MB / 1.457 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/1.4, allocations: 7.938 kB / 1.457 GB, free: 15.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002637/1.401, allocations: 106.7 kB / 1.457 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-05/1.401, allocations: 108.9 kB / 1.457 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006909/1.408, allocations: 3.009 MB / 1.46 GB, free: 12.43 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.01932/1.427, allocations: 14.75 MB / 1.475 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003597/1.431, allocations: 1.594 MB / 1.476 GB, free: 11.08 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/1.432, allocations: 0.692 MB / 1.477 GB, free: 10.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003922/1.433, allocations: 299.4 kB / 1.477 GB, free: 10.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001797/1.434, allocations: 0.8143 MB / 1.478 GB, free: 9.203 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 2.474e-06/1.434, allocations: 0 / 1.478 GB, free: 9.203 MB / 1.076 GB Notification: Performance of matching and sorting (n=103): time 0.005737/1.44, allocations: 2.193 MB / 1.48 GB, free: 6.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/1.44, allocations: 119.8 kB / 1.48 GB, free: 6.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004143/1.444, allocations: 3.202 MB / 1.483 GB, free: 3.648 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/1.444, allocations: 49.7 kB / 1.484 GB, free: 3.594 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/1.446, allocations: 1.73 MB / 1.485 GB, free: 1.859 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/1.446, allocations: 376.3 kB / 1.486 GB, free: 1.496 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006495/1.447, allocations: 467.4 kB / 1.486 GB, free: 1.031 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/1.447, allocations: 305.1 kB / 1.486 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/1.449, allocations: 0.9533 MB / 1.487 GB, free: 15.78 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/1.452, allocations: 1.738 MB / 1.489 GB, free: 13.7 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004561/1.457, allocations: 2.517 MB / 1.491 GB, free: 10.87 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.457, allocations: 12 kB / 1.491 GB, free: 10.86 MB / 1.092 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006261/1.463, allocations: 2.974 MB / 1.494 GB, free: 7.875 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/1.463, allocations: 45.7 kB / 1.494 GB, free: 7.824 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/1.463, allocations: 20 kB / 1.494 GB, free: 7.805 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.781e-05/1.463, allocations: 32 kB / 1.494 GB, free: 7.773 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/1.465, allocations: 0.5149 MB / 1.495 GB, free: 7.258 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.254e-05/1.465, allocations: 51.78 kB / 1.495 GB, free: 7.207 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/1.468, allocations: 429.8 kB / 1.495 GB, free: 6.785 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/1.468, allocations: 103.9 kB / 1.495 GB, free: 6.684 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003374/1.472, allocations: 1.765 MB / 1.497 GB, free: 4.91 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002924/1.475, allocations: 1.727 MB / 1.499 GB, free: 2.844 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0046/1.479, allocations: 2.522 MB / 1.501 GB, free: 4 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.079e-05/1.479, allocations: 8.047 kB / 1.501 GB, free: 15.99 MB / 1.107 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.006076/1.485, allocations: 2.979 MB / 1.504 GB, free: 13.01 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/1.485, allocations: 47.56 kB / 1.504 GB, free: 12.96 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/1.485, allocations: 20 kB / 1.504 GB, free: 12.94 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/1.485, allocations: 32 kB / 1.504 GB, free: 12.91 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/1.488, allocations: 0.5227 MB / 1.505 GB, free: 12.38 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.442e-05/1.488, allocations: 43.86 kB / 1.505 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/1.49, allocations: 371.3 kB / 1.505 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/1.491, allocations: 99.97 kB / 1.505 GB, free: 11.88 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.0003455/1.491, allocations: 313.5 kB / 1.506 GB, free: 11.57 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/1.491, allocations: 308.1 kB / 1.506 GB, free: 11.26 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003995/1.495, allocations: 1.691 MB / 1.508 GB, free: 9.555 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.495, allocations: 11.94 kB / 1.508 GB, free: 9.543 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.495, allocations: 8 kB / 1.508 GB, free: 9.535 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003284/1.499, allocations: 1.298 MB / 1.509 GB, free: 8.203 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008042/1.507, allocations: 4.573 MB / 1.513 GB, free: 3.48 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/1.507, allocations: 8 kB / 1.513 GB, free: 3.473 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.508, allocations: 240.2 kB / 1.514 GB, free: 3.238 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/1.508, allocations: 56.83 kB / 1.514 GB, free: 3.18 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.951e-05/1.508, allocations: 35.92 kB / 1.514 GB, free: 3.145 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/1.51, allocations: 1.535 MB / 1.515 GB, free: 1.473 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.496e-05/1.51, allocations: 11.94 kB / 1.515 GB, free: 1.461 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00534/1.515, allocations: 2.523 MB / 1.518 GB, free: 14.83 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008543/1.516, allocations: 0.5515 MB / 1.518 GB, free: 14.25 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000366/1.516, allocations: 31.98 kB / 1.518 GB, free: 14.22 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.518, allocations: 147.9 kB / 1.518 GB, free: 14.08 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/1.518, allocations: 88.38 kB / 1.518 GB, free: 13.99 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.519, allocations: 51.97 kB / 1.518 GB, free: 13.94 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003119/1.522, allocations: 2.171 MB / 1.521 GB, free: 11.79 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.3e-07/1.522, allocations: 0 / 1.521 GB, free: 11.79 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003626/1.525, allocations: 1.683 MB / 1.522 GB, free: 10.1 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.006537/1.532, allocations: 3.547 MB / 1.526 GB, free: 6.469 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007941/1.54, allocations: 3.592 MB / 1.529 GB, free: 2.867 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.54, allocations: 0 / 1.529 GB, free: 2.867 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/1.542, allocations: 0.8127 MB / 1.53 GB, free: 2.043 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005838/1.548, allocations: 1.501 MB / 1.531 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03909/1.587, allocations: 26.84 MB / 1.558 GB, free: 3.441 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/1.589, allocations: 2.311 MB / 1.56 GB, free: 1.102 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003891/1.593, allocations: 0.8917 MB / 1.561 GB, free: 208 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/1.595, allocations: 1.445 MB / 1.562 GB, free: 14.78 MB / 1.17 GB Notification: Performance of SimCode: time 6.51e-07/1.595, allocations: 4 kB / 1.562 GB, free: 14.77 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).