Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 288.4 MB / 303.3 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 189.6 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.001212, allocations: 93.12 kB / 0.744 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 15.84 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2342, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.9004/1.135, allocations: 313.2 MB / 1.286 GB, free: 1.352 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.05385/1.188, allocations: 36.43 MB / 1.321 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006091/1.195, allocations: 115.2 kB / 1.321 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006544/1.201, allocations: 1.487 MB / 1.323 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01637/1.218, allocations: 4.16 MB / 1.327 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.008962/1.227, allocations: 2.212 MB / 1.329 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01492/1.242, allocations: 9.641 MB / 1.338 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007193/1.249, allocations: 2.897 MB / 1.341 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01187/1.261, allocations: 3.738 MB / 1.345 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006764/1.268, allocations: 2.431 MB / 1.347 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.001684/1.269, allocations: 132 kB / 1.347 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/1.28, allocations: 2.861 MB / 1.35 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.00344/1.284, allocations: 0.9692 MB / 1.351 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002911/1.287, allocations: 0.7537 MB / 1.352 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01048/1.297, allocations: 5.031 MB / 1.357 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.297, allocations: 0 / 1.357 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.344e-06/1.297, allocations: 4 kB / 1.357 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002761/1.298, allocations: 0 / 1.357 GB, free: 8.293 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.0115/1.309, allocations: 3.703 MB / 1.36 GB, free: 4.508 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/1.309, allocations: 16.03 kB / 1.36 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00143/1.311, allocations: 358.4 kB / 1.361 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009536/1.32, allocations: 1.467 MB / 1.362 GB, free: 2.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/1.33, allocations: 2.566 MB / 1.365 GB, free: 24 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001678/1.332, allocations: 0.5292 MB / 1.365 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/1.333, allocations: 264 kB / 1.365 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/1.344, allocations: 3.468 MB / 1.369 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.039e-05/1.344, allocations: 3.938 kB / 1.369 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000441/1.345, allocations: 100 kB / 1.369 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/1.345, allocations: 112.9 kB / 1.369 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009699/1.355, allocations: 3.193 MB / 1.372 GB, free: 8.223 MB / 0.9011 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.02878/1.384, allocations: 14.42 MB / 1.386 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004319/1.388, allocations: 1.877 MB / 1.388 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/1.39, allocations: 0.8339 MB / 1.389 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/1.39, allocations: 296.3 kB / 1.389 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002251/1.393, allocations: 0.9738 MB / 1.39 GB, free: 4.664 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002327/1.395, allocations: 138.3 kB / 1.39 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=108): time 6.011e-06/1.395, allocations: 8 kB / 1.39 GB, free: 4.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=108): time 0.00731/1.402, allocations: 2.529 MB / 1.393 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/1.402, allocations: 115.8 kB / 1.393 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005211/1.408, allocations: 2.823 MB / 1.396 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003976/1.408, allocations: 53.7 kB / 1.396 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001516/1.41, allocations: 1.502 MB / 1.397 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000531/1.41, allocations: 382.6 kB / 1.397 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/1.41, allocations: 28 kB / 1.397 GB, free: 13.01 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.41, allocations: 365.9 kB / 1.398 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002435/1.413, allocations: 0.894 MB / 1.399 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/1.416, allocations: 1.416 MB / 1.4 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/1.418, allocations: 1.025 MB / 1.401 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/1.418, allocations: 4 kB / 1.401 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006407/1.425, allocations: 2.55 MB / 1.404 GB, free: 6.527 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004673/1.425, allocations: 471.7 kB / 1.404 GB, free: 5.902 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/1.425, allocations: 12 kB / 1.404 GB, free: 5.891 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.466e-05/1.425, allocations: 20 kB / 1.404 GB, free: 5.871 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/1.427, allocations: 463.4 kB / 1.404 GB, free: 5.418 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.435e-05/1.427, allocations: 31.83 kB / 1.404 GB, free: 5.387 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004169/1.432, allocations: 0.513 MB / 1.405 GB, free: 4.875 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/1.432, allocations: 75.91 kB / 1.405 GB, free: 4.801 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.432, allocations: 4 kB / 1.405 GB, free: 4.797 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005509/1.437, allocations: 2.262 MB / 1.407 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/1.437, allocations: 16.06 kB / 1.407 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/1.437, allocations: 20 kB / 1.407 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/1.44, allocations: 463.3 kB / 1.408 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.849e-05/1.44, allocations: 27.92 kB / 1.408 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/1.444, allocations: 449.6 kB / 1.408 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/1.444, allocations: 71.97 kB / 1.408 GB, free: 1.504 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 177 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002272/1.446, allocations: 0.8645 MB / 1.409 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008087/1.447, allocations: 280.5 kB / 1.409 GB, free: 360 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/1.452, allocations: 1.95 MB / 1.411 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/1.452, allocations: 12 kB / 1.411 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.452, allocations: 3.938 kB / 1.411 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003514/1.455, allocations: 1.536 MB / 1.413 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/1.467, allocations: 4.959 MB / 1.418 GB, free: 7.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.467, allocations: 8 kB / 1.418 GB, free: 7.652 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/1.468, allocations: 280.4 kB / 1.418 GB, free: 7.379 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/1.469, allocations: 64.75 kB / 1.418 GB, free: 7.312 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/1.469, allocations: 27.98 kB / 1.418 GB, free: 7.285 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/1.47, allocations: 1.44 MB / 1.419 GB, free: 5.711 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.47, allocations: 11.94 kB / 1.419 GB, free: 5.699 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006498/1.477, allocations: 2.951 MB / 1.422 GB, free: 2.652 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/1.478, allocations: 0.5442 MB / 1.423 GB, free: 2.086 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/1.479, allocations: 31.98 kB / 1.423 GB, free: 2.055 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.481, allocations: 319.5 kB / 1.423 GB, free: 1.742 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/1.482, allocations: 96.73 kB / 1.423 GB, free: 1.645 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.482, allocations: 51.97 kB / 1.423 GB, free: 1.594 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.6207/2.102, allocations: 1.967 MB / 1.425 GB, free: 347 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.092e-06/2.102, allocations: 0 / 1.425 GB, free: 347 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008241/2.111, allocations: 1.539 MB / 1.427 GB, free: 347 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00965/2.12, allocations: 3.828 MB / 1.43 GB, free: 346 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009209/2.13, allocations: 3.153 MB / 1.434 GB, free: 345 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/2.13, allocations: 1.469 kB / 1.434 GB, free: 345 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002684/2.132, allocations: 0.9416 MB / 1.434 GB, free: 344.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009341/2.142, allocations: 1.505 MB / 1.436 GB, free: 344.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05718/2.199, allocations: 20.66 MB / 1.456 GB, free: 333 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0026/2.202, allocations: 2.123 MB / 1.458 GB, free: 332.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005226/2.207, allocations: 0.7446 MB / 1.459 GB, free: 331.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/2.209, allocations: 1.275 MB / 1.46 GB, free: 330.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.674e-06/2.209, allocations: 0 / 1.46 GB, free: 330.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/2.339, allocations: 79.25 MB / 1.538 GB, free: 267.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/2.34, allocations: 261.4 kB / 1.538 GB, free: 266.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.199/7.539, allocations: 0 / 1.538 GB, free: 266.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)