Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",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.0009625/0.0009627, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007696/0.007696, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003047, allocations: 12 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5275, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8121/1.34, allocations: 372.9 MB / 1.387 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04994/1.39, allocations: 46.32 MB / 1.433 GB, free: 6.508 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005405/1.395, allocations: 152.3 kB / 1.433 GB, free: 6.449 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01392/1.409, allocations: 8.104 MB / 1.441 GB, free: 448 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01698/1.426, allocations: 6.876 MB / 1.447 GB, free: 9.535 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008231/1.434, allocations: 3.504 MB / 1.451 GB, free: 6.055 MB / 1.029 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.108}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02793/1.462, allocations: 21.38 MB / 1.472 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007194/1.469, allocations: 4.589 MB / 1.476 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/1.48, allocations: 5.318 MB / 1.481 GB, free: 6.629 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006723/1.487, allocations: 3.543 MB / 1.485 GB, free: 3.086 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000715/1.488, allocations: 172 kB / 1.485 GB, free: 2.918 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0121/1.5, allocations: 7.045 MB / 1.492 GB, free: 11.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001625/1.501, allocations: 1.608 MB / 1.493 GB, free: 10.24 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002966/1.504, allocations: 2.702 MB / 1.496 GB, free: 7.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/1.516, allocations: 10.18 MB / 1.506 GB, free: 13.3 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/1.516, allocations: 0 / 1.506 GB, free: 13.3 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.503e-06/1.516, allocations: 0 / 1.506 GB, free: 13.3 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.791e-05/1.516, allocations: 0 / 1.506 GB, free: 13.3 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: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.009101/1.525, allocations: 5.383 MB / 1.511 GB, free: 7.812 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/1.525, allocations: 8.031 kB / 1.511 GB, free: 7.805 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005831/1.526, allocations: 480.1 kB / 1.512 GB, free: 7.324 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/1.538, allocations: 2.124 MB / 1.514 GB, free: 5.191 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009102/1.547, allocations: 5.631 MB / 1.519 GB, free: 15.48 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00156/1.548, allocations: 0.6416 MB / 1.52 GB, free: 14.81 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005221/1.549, allocations: 344 kB / 1.52 GB, free: 14.48 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008506/1.557, allocations: 4.584 MB / 1.525 GB, free: 9.789 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.729e-05/1.557, allocations: 7.938 kB / 1.525 GB, free: 9.781 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003368/1.558, allocations: 140 kB / 1.525 GB, free: 9.645 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/1.558, allocations: 138.5 kB / 1.525 GB, free: 9.508 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009262/1.567, allocations: 4.124 MB / 1.529 GB, free: 5.375 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.02635/1.593, allocations: 19.38 MB / 1.548 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/1.598, allocations: 1.806 MB / 1.55 GB, free: 14.76 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/1.6, allocations: 0.945 MB / 1.551 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006329/1.6, allocations: 405.6 kB / 1.551 GB, free: 13.34 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002477/1.603, allocations: 1.104 MB / 1.552 GB, free: 12.21 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001196/1.604, allocations: 169.7 kB / 1.552 GB, free: 12.05 MB / 1.139 GB Notification: Performance of pre-optimization done (n=131): time 2.785e-06/1.604, allocations: 0 / 1.552 GB, free: 12.05 MB / 1.139 GB Notification: Performance of matching and sorting (n=131): time 0.007624/1.612, allocations: 3.001 MB / 1.555 GB, free: 9.016 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/1.612, allocations: 141.8 kB / 1.555 GB, free: 8.844 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005748/1.618, allocations: 4.54 MB / 1.56 GB, free: 4.312 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/1.618, allocations: 57.7 kB / 1.56 GB, free: 4.25 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001868/1.62, allocations: 2.425 MB / 1.562 GB, free: 1.805 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.00039/1.62, allocations: 481.4 kB / 1.563 GB, free: 1.328 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/1.621, allocations: 328.6 kB / 1.563 GB, free: 1 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/1.621, allocations: 301.1 kB / 1.563 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003156/1.624, allocations: 1.404 MB / 1.565 GB, free: 15.3 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003921/1.628, allocations: 2.564 MB / 1.567 GB, free: 12.23 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006295/1.634, allocations: 3.765 MB / 1.571 GB, free: 7.996 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/1.634, allocations: 8 kB / 1.571 GB, free: 7.988 MB / 1.154 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.008292/1.642, allocations: 4.368 MB / 1.575 GB, free: 3.605 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006665/1.643, allocations: 1.092 MB / 1.576 GB, free: 2.051 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/1.643, allocations: 35.94 kB / 1.576 GB, free: 2.016 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.958e-05/1.643, allocations: 55.98 kB / 1.576 GB, free: 1.961 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/1.646, allocations: 0.7411 MB / 1.577 GB, free: 1.219 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.2e-05/1.646, allocations: 71.72 kB / 1.577 GB, free: 1.148 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/1.65, allocations: 0.6661 MB / 1.578 GB, free: 492 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/1.651, allocations: 144 kB / 1.578 GB, free: 348 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/1.651, allocations: 4 kB / 1.578 GB, free: 344 kB / 1.154 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007749/1.658, allocations: 3.961 MB / 1.582 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/1.658, allocations: 32 kB / 1.582 GB, free: 12.33 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.97e-05/1.659, allocations: 48 kB / 1.582 GB, free: 12.29 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/1.661, allocations: 0.7457 MB / 1.582 GB, free: 11.54 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.408e-05/1.662, allocations: 71.72 kB / 1.582 GB, free: 11.47 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/1.665, allocations: 0.5556 MB / 1.583 GB, free: 10.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/1.665, allocations: 144 kB / 1.583 GB, free: 10.77 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (356): * Single equations (assignments): 350 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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.002079/1.668, allocations: 1.399 MB / 1.585 GB, free: 9.363 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004821/1.668, allocations: 426.5 kB / 1.585 GB, free: 8.941 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005468/1.674, allocations: 2.381 MB / 1.587 GB, free: 6.535 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.674, allocations: 15.94 kB / 1.587 GB, free: 6.52 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.674, allocations: 0 / 1.587 GB, free: 6.52 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004359/1.678, allocations: 1.972 MB / 1.589 GB, free: 4.457 MB / 1.17 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 postOpt removeSimpleEquations (simulation): time 0.01234/1.69, allocations: 6.951 MB / 1.596 GB, free: 13.24 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/1.69, allocations: 15.94 kB / 1.596 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/1.692, allocations: 343.5 kB / 1.596 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002137/1.692, allocations: 60.83 kB / 1.596 GB, free: 12.83 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/1.692, allocations: 39.98 kB / 1.596 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/1.693, allocations: 1.442 MB / 1.598 GB, free: 11.22 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/1.694, allocations: 19.88 kB / 1.598 GB, free: 11.2 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007147/1.701, allocations: 3.468 MB / 1.601 GB, free: 7.566 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.702, allocations: 0.7062 MB / 1.602 GB, free: 6.836 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/1.702, allocations: 39.98 kB / 1.602 GB, free: 6.797 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.705, allocations: 347.5 kB / 1.602 GB, free: 6.457 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/1.705, allocations: 124.6 kB / 1.602 GB, free: 6.332 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/1.706, allocations: 63.97 kB / 1.602 GB, free: 6.27 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.004272/1.71, allocations: 3.039 MB / 1.605 GB, free: 3.246 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.1e-07/1.71, allocations: 0 / 1.605 GB, free: 3.246 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.005065/1.715, allocations: 2.337 MB / 1.608 GB, free: 0.9023 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (129): * Single equations (assignments): 126 * 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.008605/1.724, allocations: 4.557 MB / 1.612 GB, free: 12.18 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01012/1.734, allocations: 4.988 MB / 1.617 GB, free: 7.184 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/1.734, allocations: 8.438 kB / 1.617 GB, free: 7.176 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002548/1.736, allocations: 1.092 MB / 1.618 GB, free: 6.074 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01575/1.752, allocations: 1.991 MB / 1.62 GB, free: 4.109 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07767/1.83, allocations: 41.76 MB / 1.661 GB, free: 6.719 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003217/1.833, allocations: 3.03 MB / 1.664 GB, free: 3.66 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.005681/1.839, allocations: 1.304 MB / 1.665 GB, free: 2.352 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002791/1.841, allocations: 2.096 MB / 1.667 GB, free: 260 kB / 1.248 GB Notification: Performance of SimCode: time 7.51e-07/1.841, allocations: 0 / 1.667 GB, free: 260 kB / 1.248 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).