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.001563/0.001563, 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.001774/0.001774, allocations: 195.1 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.674/2.674, allocations: 469.4 MB / 0.742 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.58 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.235, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7459/0.981, allocations: 342.9 MB / 1.399 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04538/1.026, allocations: 38.39 MB / 1.436 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003842/1.03, allocations: 138.8 kB / 1.436 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01024/1.041, allocations: 5.612 MB / 1.442 GB, free: 2.676 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01257/1.053, allocations: 5.805 MB / 1.447 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006283/1.059, allocations: 3.053 MB / 1.45 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01234/1.072, allocations: 11.35 MB / 1.461 GB, free: 1.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004547/1.076, allocations: 4.187 MB / 1.465 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007803/1.084, allocations: 4.873 MB / 1.47 GB, free: 8.344 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003519/1.088, allocations: 2.747 MB / 1.473 GB, free: 5.602 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005472/1.088, allocations: 376 kB / 1.473 GB, free: 5.234 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008681/1.097, allocations: 5.293 MB / 1.478 GB, free: 15.93 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001188/1.098, allocations: 1.402 MB / 1.48 GB, free: 14.52 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002072/1.1, allocations: 2.255 MB / 1.482 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008112/1.108, allocations: 7.568 MB / 1.489 GB, free: 4.668 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/1.108, allocations: 0 / 1.489 GB, free: 4.668 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.483e-06/1.108, allocations: 0 / 1.489 GB, free: 4.668 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.455e-05/1.108, allocations: 0 / 1.489 GB, free: 4.668 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.007258/1.116, allocations: 4.768 MB / 1.494 GB, free: 15.8 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/1.116, allocations: 8.031 kB / 1.494 GB, free: 15.8 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004248/1.116, allocations: 370.5 kB / 1.494 GB, free: 15.43 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008627/1.125, allocations: 1.489 MB / 1.496 GB, free: 13.93 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006125/1.131, allocations: 3.737 MB / 1.5 GB, free: 10.12 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001165/1.132, allocations: 461.9 kB / 1.5 GB, free: 9.652 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/1.132, allocations: 252 kB / 1.5 GB, free: 9.406 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006081/1.139, allocations: 3.392 MB / 1.503 GB, free: 5.902 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/1.139, allocations: 0 / 1.503 GB, free: 5.902 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/1.139, allocations: 108 kB / 1.504 GB, free: 5.797 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.712e-05/1.139, allocations: 108.8 kB / 1.504 GB, free: 5.688 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006931/1.146, allocations: 3.009 MB / 1.507 GB, free: 2.664 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.01923/1.165, allocations: 14.75 MB / 1.521 GB, free: 2.82 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/1.169, allocations: 1.573 MB / 1.523 GB, free: 1.203 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/1.17, allocations: 0.6994 MB / 1.523 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003797/1.171, allocations: 308.2 kB / 1.524 GB, free: 152 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001797/1.173, allocations: 0.8059 MB / 1.524 GB, free: 15.32 MB / 1.139 GB Notification: Performance of pre-optimization done (n=103): time 2.464e-06/1.173, allocations: 4 kB / 1.524 GB, free: 15.32 MB / 1.139 GB Notification: Performance of matching and sorting (n=103): time 0.005724/1.178, allocations: 2.189 MB / 1.526 GB, free: 13.1 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/1.178, allocations: 115.8 kB / 1.527 GB, free: 12.96 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004097/1.183, allocations: 3.209 MB / 1.53 GB, free: 9.762 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/1.183, allocations: 53.64 kB / 1.53 GB, free: 9.703 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/1.184, allocations: 1.715 MB / 1.531 GB, free: 7.969 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/1.184, allocations: 374.9 kB / 1.532 GB, free: 7.598 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006485/1.185, allocations: 475.3 kB / 1.532 GB, free: 7.125 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.676e-05/1.185, allocations: 313.1 kB / 1.533 GB, free: 6.816 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/1.187, allocations: 0.954 MB / 1.534 GB, free: 5.859 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002863/1.19, allocations: 1.731 MB / 1.535 GB, free: 3.781 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004467/1.195, allocations: 2.527 MB / 1.538 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/1.195, allocations: 11.98 kB / 1.538 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006087/1.201, allocations: 2.971 MB / 1.541 GB, free: 13.95 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/1.201, allocations: 41.7 kB / 1.541 GB, free: 13.9 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/1.201, allocations: 23.98 kB / 1.541 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.66e-05/1.201, allocations: 36.66 kB / 1.541 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/1.203, allocations: 0.5304 MB / 1.541 GB, free: 13.31 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.845e-05/1.203, allocations: 47.8 kB / 1.541 GB, free: 13.26 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/1.206, allocations: 434.2 kB / 1.542 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/1.206, allocations: 103.9 kB / 1.542 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003324/1.209, allocations: 1.763 MB / 1.543 GB, free: 10.96 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002876/1.212, allocations: 1.723 MB / 1.545 GB, free: 8.902 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004513/1.217, allocations: 2.53 MB / 1.548 GB, free: 6.066 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.356e-05/1.217, allocations: 8 kB / 1.548 GB, free: 6.059 MB / 1.154 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.006113/1.223, allocations: 2.973 MB / 1.551 GB, free: 3.07 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/1.223, allocations: 47.58 kB / 1.551 GB, free: 3.02 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.223, allocations: 20 kB / 1.551 GB, free: 3 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/1.223, allocations: 32.66 kB / 1.551 GB, free: 2.969 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/1.225, allocations: 0.5188 MB / 1.551 GB, free: 2.449 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.18e-05/1.225, allocations: 51.78 kB / 1.551 GB, free: 2.398 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/1.228, allocations: 370.8 kB / 1.552 GB, free: 2.035 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/1.228, allocations: 95.98 kB / 1.552 GB, free: 1.941 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.0003349/1.229, allocations: 319.5 kB / 1.552 GB, free: 1.621 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/1.229, allocations: 312 kB / 1.552 GB, free: 1.312 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/1.233, allocations: 1.68 MB / 1.554 GB, free: 15.62 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/1.233, allocations: 11.94 kB / 1.554 GB, free: 15.61 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.233, allocations: 0 / 1.554 GB, free: 15.61 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003138/1.236, allocations: 1.313 MB / 1.555 GB, free: 14.26 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007832/1.244, allocations: 4.564 MB / 1.56 GB, free: 9.523 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.244, allocations: 8 kB / 1.56 GB, free: 9.516 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/1.245, allocations: 239.7 kB / 1.56 GB, free: 9.281 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/1.246, allocations: 52.83 kB / 1.56 GB, free: 9.227 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.291e-05/1.246, allocations: 27.98 kB / 1.56 GB, free: 9.199 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/1.247, allocations: 1.547 MB / 1.561 GB, free: 7.508 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/1.247, allocations: 12.06 kB / 1.561 GB, free: 7.496 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005257/1.252, allocations: 2.519 MB / 1.564 GB, free: 4.875 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008067/1.253, allocations: 0.5515 MB / 1.564 GB, free: 4.301 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/1.254, allocations: 31.94 kB / 1.564 GB, free: 4.27 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.255, allocations: 154.3 kB / 1.565 GB, free: 4.121 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/1.256, allocations: 92.36 kB / 1.565 GB, free: 4.031 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.256, allocations: 51.97 kB / 1.565 GB, free: 3.98 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003015/1.259, allocations: 2.167 MB / 1.567 GB, free: 1.828 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.675e-06/1.259, allocations: 0 / 1.567 GB, free: 1.828 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003443/1.262, allocations: 1.691 MB / 1.569 GB, free: 136 kB / 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.006507/1.269, allocations: 3.54 MB / 1.572 GB, free: 12.48 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007673/1.276, allocations: 3.578 MB / 1.575 GB, free: 8.891 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.276, allocations: 4 kB / 1.575 GB, free: 8.887 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/1.278, allocations: 0.8237 MB / 1.576 GB, free: 8.051 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005858/1.284, allocations: 1.507 MB / 1.578 GB, free: 6.578 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03892/1.323, allocations: 26.83 MB / 1.604 GB, free: 9.438 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/1.325, allocations: 2.311 MB / 1.606 GB, free: 7.098 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.003591/1.329, allocations: 0.8956 MB / 1.607 GB, free: 6.195 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/1.331, allocations: 1.448 MB / 1.609 GB, free: 4.746 MB / 1.217 GB Notification: Performance of SimCode: time 3.61e-07/1.331, allocations: 3.938 kB / 1.609 GB, free: 4.742 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).